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': { |
11 'defines' : [ | 11 'defines' : [ |
12 'PNG_PREFIX', | 12 'PNG_PREFIX', |
13 'PNG_USE_READ_MACROS', | 13 'PNG_USE_READ_MACROS', |
14 ], | 14 ], |
15 'include_dirs': [ | 15 'include_dirs': [ |
16 # This is implicit in GN. | 16 # This is implicit in GN. |
17 '<(DEPTH)', | 17 '<(DEPTH)', |
| 18 '../../third_party/freetype/include', |
| 19 '../../third_party/freetype/include/freetype', |
18 ], | 20 ], |
19 'conditions': [ | 21 'conditions': [ |
20 ['pdf_enable_v8==1', { | 22 ['pdf_enable_v8==1', { |
21 'defines': [ | 23 'defines': [ |
22 'PDF_ENABLE_V8', | 24 'PDF_ENABLE_V8', |
23 ], | 25 ], |
24 'include_dirs': [ | 26 'include_dirs': [ |
25 '<(DEPTH)/v8', | 27 '<(DEPTH)/v8', |
26 '<(DEPTH)/v8/include', | 28 '<(DEPTH)/v8/include', |
27 ], | 29 ], |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 'type': 'executable', | 114 'type': 'executable', |
113 'dependencies': [ | 115 'dependencies': [ |
114 '../../pdfium.gyp:pdfium', | 116 '../../pdfium.gyp:pdfium', |
115 ], | 117 ], |
116 'sources': [ | 118 'sources': [ |
117 'pdf_codec_tiff_fuzzer.cc', | 119 'pdf_codec_tiff_fuzzer.cc', |
118 'unittest_main.cc', | 120 'unittest_main.cc', |
119 'xfa_codec_fuzzer.h', | 121 'xfa_codec_fuzzer.h', |
120 ], | 122 ], |
121 }, | 123 }, |
| 124 { |
| 125 'target_name': 'pdf_css_fuzzer', |
| 126 'type': 'executable', |
| 127 'dependencies': [ |
| 128 '../../pdfium.gyp:pdfium', |
| 129 ], |
| 130 'sources': [ |
| 131 'pdf_css_fuzzer.cc', |
| 132 'unittest_main.cc', |
| 133 ], |
| 134 }, |
122 ], | 135 ], |
123 }], | 136 }], |
124 ['OS=="linux"', { | 137 ['OS=="linux"', { |
125 'targets': [ | 138 'targets': [ |
126 { | 139 { |
127 'target_name': 'pdf_jpx_fuzzer', | 140 'target_name': 'pdf_jpx_fuzzer', |
128 'type': 'executable', | 141 'type': 'executable', |
129 'dependencies': [ | 142 'dependencies': [ |
130 '../../pdfium.gyp:pdfium', | 143 '../../pdfium.gyp:pdfium', |
131 ], | 144 ], |
132 'sources': [ | 145 'sources': [ |
133 'pdf_jpx_fuzzer.cc', | 146 'pdf_jpx_fuzzer.cc', |
134 'unittest_main.cc', | 147 'unittest_main.cc', |
135 ], | 148 ], |
136 }, | 149 }, |
137 ], | 150 ], |
138 }], | 151 }], |
139 ], | 152 ], |
140 # Empty target so that nonxfa builds work. | 153 # Empty target so that nonxfa builds work. |
141 'targets': [ | 154 'targets': [ |
142 { | 155 { |
143 'target_name': 'empty_target', | 156 'target_name': 'empty_target', |
144 'type': 'none', | 157 'type': 'none', |
145 } | 158 } |
146 ], | 159 ], |
147 } | 160 } |
OLD | NEW |