Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Side by Side Diff: samples/samples.gyp

Issue 950113002: Backport PNG output format to origin/master branch. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Add missing image_diff files. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « samples/pdfium_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'defines' : [
8 'dependencies': [ 8 'PNG_PREFIX',
9 '../pdfium.gyp:pdfium', 9 'PNGPREFIX_H',
10 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', 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',
22 'dependencies': [
23 'fx_lpng',
24 '../pdfium.gyp:pdfium',
25 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
26 ],
21 'sources': [ 27 'sources': [
22 'pdfium_test.cc', 28 'pdfium_test.cc',
29 'image_diff_png.cc',
30 ],
31 },
32 {
33 'target_name': 'pdfium_diff',
34 'type': 'executable',
35 'variables': { 'enable_wexit_time_destructors': 1, },
36 'dependencies': [
37 'fx_lpng',
38 '../pdfium.gyp:pdfium',
39 '../third_party/third_party.gyp:pdfium_base',
40 ],
41 'include_dirs': [
42 '../../',
43 ],
44 'sources': [
45 'image_diff.cc',
46 'image_diff_png.h',
47 'image_diff_png.cc',
48 ],
49 },
50 {
51 'target_name': 'fx_lpng',
52 'type': 'static_library',
53 'dependencies': [
54 '../pdfium.gyp:fxcodec',
55 ],
56 'include_dirs': [
57 '../core/src/fxcodec/fx_zlib/include/',
58 ],
59 'sources': [
60 'fx_lpng/include/fx_png.h',
61 'fx_lpng/src/fx_png.c',
62 'fx_lpng/src/fx_pngerror.c',
63 'fx_lpng/src/fx_pngget.c',
64 'fx_lpng/src/fx_pngmem.c',
65 'fx_lpng/src/fx_pngpread.c',
66 'fx_lpng/src/fx_pngread.c',
67 'fx_lpng/src/fx_pngrio.c',
68 'fx_lpng/src/fx_pngrtran.c',
69 'fx_lpng/src/fx_pngrutil.c',
70 'fx_lpng/src/fx_pngset.c',
71 'fx_lpng/src/fx_pngtrans.c',
72 'fx_lpng/src/fx_pngwio.c',
73 'fx_lpng/src/fx_pngwrite.c',
74 'fx_lpng/src/fx_pngwtran.c',
75 'fx_lpng/src/fx_pngwutil.c',
23 ], 76 ],
24 }, 77 },
25 ], 78 ],
26 } 79 }
OLDNEW
« no previous file with comments | « samples/pdfium_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698