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 'target_defaults': { | 6 'target_defaults': { |
7 'defines' : [ | 7 'defines' : [ |
8 'PNG_PREFIX', | 8 'PNG_PREFIX', |
9 'PNGPREFIX_H', | 9 'PNGPREFIX_H', |
10 'PNG_USE_READ_MACROS', | 10 'PNG_USE_READ_MACROS', |
11 ], | 11 ], |
12 'include_dirs': [ | 12 'include_dirs': [ |
13 '<(DEPTH)', | 13 '<(DEPTH)', |
14 '<(DEPTH)/v8', | 14 '<(DEPTH)/v8', |
15 '<(DEPTH)/v8/include', | 15 '<(DEPTH)/v8/include', |
16 ], | 16 ], |
17 }, | 17 }, |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'pdfium_test', | 20 'target_name': 'pdfium_test', |
21 'type': 'executable', | 21 'type': 'executable', |
22 'dependencies': [ | 22 'dependencies': [ |
23 'fx_lpng', | 23 'fx_lpng', |
24 '../pdfium.gyp:pdfium', | 24 '../pdfium.gyp:pdfium', |
25 # Regardless of whether the library ships against system freetype, | |
26 # always link this binary against the bundled one for consistency | |
27 # of results across platforms. | |
jam
2015/07/30 17:18:03
please copy this comment to the build.gn too so th
| |
28 '../third_party/third_party.gyp:fx_freetype', | |
25 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', | 29 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', |
26 ], | 30 ], |
27 'sources': [ | 31 'sources': [ |
28 'pdfium_test.cc', | 32 'pdfium_test.cc', |
29 'image_diff_png.cc', | 33 'image_diff_png.cc', |
30 ], | 34 ], |
31 }, | 35 }, |
32 { | 36 { |
33 'target_name': 'pdfium_diff', | 37 'target_name': 'pdfium_diff', |
34 'type': 'executable', | 38 'type': 'executable', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
70 'fx_lpng/src/fx_pngset.c', | 74 'fx_lpng/src/fx_pngset.c', |
71 'fx_lpng/src/fx_pngtrans.c', | 75 'fx_lpng/src/fx_pngtrans.c', |
72 'fx_lpng/src/fx_pngwio.c', | 76 'fx_lpng/src/fx_pngwio.c', |
73 'fx_lpng/src/fx_pngwrite.c', | 77 'fx_lpng/src/fx_pngwrite.c', |
74 'fx_lpng/src/fx_pngwtran.c', | 78 'fx_lpng/src/fx_pngwtran.c', |
75 'fx_lpng/src/fx_pngwutil.c', | 79 'fx_lpng/src/fx_pngwutil.c', |
76 ], | 80 ], |
77 }, | 81 }, |
78 ], | 82 ], |
79 } | 83 } |
OLD | NEW |