OLD | NEW |
1 # Copyright 2014 PDFium Authors. All rights reserved. | 1 # Copyright 2014 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 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'type': 'executable', | 10 'type': 'executable', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../pdfium.gyp:pdfium', | 12 '../pdfium.gyp:pdfium', |
13 ], | 13 ], |
14 'include_dirs': [ | 14 'include_dirs': [ |
15 '<(DEPTH)', | 15 '<(DEPTH)', |
16 ], | 16 ], |
17 'defines' : [ | 17 'defines' : [ |
18 'PNG_PREFIX', | 18 'PNG_PREFIX', |
19 'PNGPREFIX_H', | 19 'PNGPREFIX_H', |
20 'PNG_USE_READ_MACROS', | 20 'PNG_USE_READ_MACROS', |
21 ], | 21 ], |
| 22 'include_dirs': [ |
| 23 # This is implicit in GN. |
| 24 '<(DEPTH)', |
| 25 '..', |
| 26 ], |
22 'conditions': [ | 27 'conditions': [ |
23 ['pdf_enable_v8==1', { | 28 ['pdf_enable_v8==1', { |
24 'defines': [ | 29 'defines': [ |
25 'PDF_ENABLE_V8', | 30 'PDF_ENABLE_V8', |
26 ], | 31 ], |
27 'include_dirs': [ | 32 'include_dirs': [ |
28 '<(DEPTH)/v8', | 33 '<(DEPTH)/v8', |
29 '<(DEPTH)/v8/include', | 34 '<(DEPTH)/v8/include', |
30 ], | 35 ], |
31 }], | 36 }], |
(...skipping 20 matching lines...) Expand all Loading... |
52 ], | 57 ], |
53 }, | 58 }, |
54 { | 59 { |
55 'target_name': 'pdfium_diff', | 60 'target_name': 'pdfium_diff', |
56 'type': 'executable', | 61 'type': 'executable', |
57 'variables': { 'enable_wexit_time_destructors': 1, }, | 62 'variables': { 'enable_wexit_time_destructors': 1, }, |
58 'dependencies': [ | 63 'dependencies': [ |
59 '../pdfium.gyp:fxcodec', | 64 '../pdfium.gyp:fxcodec', |
60 '../third_party/third_party.gyp:pdfium_base', | 65 '../third_party/third_party.gyp:pdfium_base', |
61 ], | 66 ], |
62 'include_dirs': [ | |
63 '../../', | |
64 ], | |
65 'sources': [ | 67 'sources': [ |
66 'image_diff.cc', | 68 'image_diff.cc', |
67 'image_diff_png.h', | 69 'image_diff_png.h', |
68 'image_diff_png.cc', | 70 'image_diff_png.cc', |
69 ], | 71 ], |
70 }, | 72 }, |
71 ], | 73 ], |
72 } | 74 } |
OLD | NEW |