| 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 "PNG_PREFIX", | 14 "PNG_PREFIX", |
| 15 "PNGPREFIX_H", | 15 "PNGPREFIX_H", |
| 16 "PNG_USE_READ_MACROS", | 16 "PNG_USE_READ_MACROS", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 | 19 |
| 20 executable("pdfium_test") { | 20 executable("pdfium_test") { |
| 21 sources = [ | 21 sources = [ |
| 22 "image_diff_png.cc", | 22 "image_diff_png.cc", |
| 23 "pdfium_test.cc", | 23 "pdfium_test.cc", |
| 24 ] | 24 ] |
| 25 deps = [ | 25 deps = [ |
| 26 "//third_party/pdfium", | 26 "//third_party/pdfium", |
| 27 "//third_party/pdfium/third_party:fx_freetype", |
| 27 "//v8:v8_libplatform", | 28 "//v8:v8_libplatform", |
| 28 ":fx_lpng", | 29 ":fx_lpng", |
| 29 ] | 30 ] |
| 30 include_dirs = [ | 31 include_dirs = [ |
| 31 "//v8", | 32 "//v8", |
| 32 "//v8/include", | 33 "//v8/include", |
| 33 ] | 34 ] |
| 34 configs += [ ":pdfium_samples_config" ] | 35 configs += [ ":pdfium_samples_config" ] |
| 35 } | 36 } |
| 36 | 37 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 "fx_lpng/src/fx_pngwio.c", | 69 "fx_lpng/src/fx_pngwio.c", |
| 69 "fx_lpng/src/fx_pngwrite.c", | 70 "fx_lpng/src/fx_pngwrite.c", |
| 70 "fx_lpng/src/fx_pngwtran.c", | 71 "fx_lpng/src/fx_pngwtran.c", |
| 71 "fx_lpng/src/fx_pngwutil.c", | 72 "fx_lpng/src/fx_pngwutil.c", |
| 72 ] | 73 ] |
| 73 include_dirs = [ | 74 include_dirs = [ |
| 74 "../core/src/fxcodec/fx_zlib/include/", | 75 "../core/src/fxcodec/fx_zlib/include/", |
| 75 ] | 76 ] |
| 76 configs += [ ":pdfium_samples_config" ] | 77 configs += [ ":pdfium_samples_config" ] |
| 77 } | 78 } |
| OLD | NEW |