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 group("samples") { | 5 group("samples") { |
6 deps = [ | 6 deps = [ |
7 ":pdfium_test", | 7 ":pdfium_test", |
8 ":pdfium_diff", | 8 ":pdfium_diff", |
9 ] | 9 ] |
10 } | 10 } |
11 | 11 |
12 config("pdfium_samples_config") { | 12 config("pdfium_samples_config") { |
13 defines = [ | 13 defines = [ |
| 14 "PDF_ENABLE_V8", |
14 "PNG_PREFIX", | 15 "PNG_PREFIX", |
15 "PNGPREFIX_H", | 16 "PNGPREFIX_H", |
16 "PNG_USE_READ_MACROS", | 17 "PNG_USE_READ_MACROS", |
17 ] | 18 ] |
18 } | 19 } |
19 | 20 |
20 executable("pdfium_test") { | 21 executable("pdfium_test") { |
21 sources = [ | 22 sources = [ |
22 "image_diff_png.cc", | 23 "image_diff_png.cc", |
23 "pdfium_test.cc", | 24 "pdfium_test.cc", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 "fx_lpng/src/fx_pngwio.c", | 73 "fx_lpng/src/fx_pngwio.c", |
73 "fx_lpng/src/fx_pngwrite.c", | 74 "fx_lpng/src/fx_pngwrite.c", |
74 "fx_lpng/src/fx_pngwtran.c", | 75 "fx_lpng/src/fx_pngwtran.c", |
75 "fx_lpng/src/fx_pngwutil.c", | 76 "fx_lpng/src/fx_pngwutil.c", |
76 ] | 77 ] |
77 include_dirs = [ | 78 include_dirs = [ |
78 "../core/src/fxcodec/fx_zlib/include/", | 79 "../core/src/fxcodec/fx_zlib/include/", |
79 ] | 80 ] |
80 configs += [ ":pdfium_samples_config" ] | 81 configs += [ ":pdfium_samples_config" ] |
81 } | 82 } |
OLD | NEW |