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 'type': 'executable', | 7 'type': 'executable', |
8 'dependencies': [ | 8 'dependencies': [ |
9 '../pdfium.gyp:pdfium', | 9 '../pdfium.gyp:pdfium', |
10 ], | 10 ], |
11 'include_dirs': ['<(DEPTH)'], | 11 'include_dirs': ['<(DEPTH)'], |
12 }, | 12 }, |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'pdfium_test', | 15 'target_name': 'pdfium_test', |
16 'sources': [ | 16 'sources': [ |
17 'pdfium_test.cc', | 17 'pdfium_test.cc', |
| 18 'image_diff_png.cc', |
| 19 ], |
| 20 }, |
| 21 { |
| 22 'target_name': 'pdfium_diff', |
| 23 'type': 'executable', |
| 24 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 25 'dependencies': [ |
| 26 '../pdfium.gyp:fxcodec', |
| 27 '../third_party/third_party.gyp:safemath', |
| 28 ], |
| 29 'include_dirs': [ |
| 30 '../../', |
| 31 ], |
| 32 'sources': [ |
| 33 'image_diff.cc', |
| 34 'image_diff_png.h', |
| 35 'image_diff_png.cc', |
18 ], | 36 ], |
19 }, | 37 }, |
20 ], | 38 ], |
21 } | 39 } |
OLD | NEW |