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 } |
(...skipping 26 matching lines...) Expand all Loading... |
37 executable("pdfium_diff") { | 37 executable("pdfium_diff") { |
38 sources = [ | 38 sources = [ |
39 "image_diff.cc", | 39 "image_diff.cc", |
40 "image_diff_png.cc", | 40 "image_diff_png.cc", |
41 "image_diff_png.h", | 41 "image_diff_png.h", |
42 ] | 42 ] |
43 deps = [ | 43 deps = [ |
44 "//third_party/pdfium", | 44 "//third_party/pdfium", |
45 ":fx_lpng", | 45 ":fx_lpng", |
46 ] | 46 ] |
47 configs += [ ":pdfium_samples_config" ] | 47 configs -= [ "//build/config/compiler:chromium_code" ] |
| 48 configs += [ |
| 49 ":pdfium_samples_config", |
| 50 "//build/config/compiler:no_chromium_code", |
| 51 ] |
48 } | 52 } |
49 | 53 |
50 static_library("fx_lpng") { | 54 static_library("fx_lpng") { |
51 sources = [ | 55 sources = [ |
52 "fx_lpng/include/fx_png.h", | 56 "fx_lpng/include/fx_png.h", |
53 "fx_lpng/src/fx_png.c", | 57 "fx_lpng/src/fx_png.c", |
54 "fx_lpng/src/fx_pngerror.c", | 58 "fx_lpng/src/fx_pngerror.c", |
55 "fx_lpng/src/fx_pngget.c", | 59 "fx_lpng/src/fx_pngget.c", |
56 "fx_lpng/src/fx_pngmem.c", | 60 "fx_lpng/src/fx_pngmem.c", |
57 "fx_lpng/src/fx_pngpread.c", | 61 "fx_lpng/src/fx_pngpread.c", |
58 "fx_lpng/src/fx_pngread.c", | 62 "fx_lpng/src/fx_pngread.c", |
59 "fx_lpng/src/fx_pngrio.c", | 63 "fx_lpng/src/fx_pngrio.c", |
60 "fx_lpng/src/fx_pngrtran.c", | 64 "fx_lpng/src/fx_pngrtran.c", |
61 "fx_lpng/src/fx_pngrutil.c", | 65 "fx_lpng/src/fx_pngrutil.c", |
62 "fx_lpng/src/fx_pngset.c", | 66 "fx_lpng/src/fx_pngset.c", |
63 "fx_lpng/src/fx_pngtrans.c", | 67 "fx_lpng/src/fx_pngtrans.c", |
64 "fx_lpng/src/fx_pngwio.c", | 68 "fx_lpng/src/fx_pngwio.c", |
65 "fx_lpng/src/fx_pngwrite.c", | 69 "fx_lpng/src/fx_pngwrite.c", |
66 "fx_lpng/src/fx_pngwtran.c", | 70 "fx_lpng/src/fx_pngwtran.c", |
67 "fx_lpng/src/fx_pngwutil.c", | 71 "fx_lpng/src/fx_pngwutil.c", |
68 ] | 72 ] |
69 include_dirs = [ | 73 include_dirs = [ |
70 "../core/src/fxcodec/fx_zlib/include/", | 74 "../core/src/fxcodec/fx_zlib/include/", |
71 ] | 75 ] |
72 configs += [ ":pdfium_samples_config" ] | 76 configs += [ ":pdfium_samples_config" ] |
73 } | 77 } |
OLD | NEW |