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

Side by Side Diff: samples/samples.gyp

Issue 925763003: Fix pdfium_test build inside Chromium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 10 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/BUILD.gn ('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 'type': 'executable',
8 'dependencies': [ 8 'dependencies': [
9 '../pdfium.gyp:pdfium', 9 '../pdfium.gyp:pdfium',
10 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', 10 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
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 'defines' : [
18 'PNG_PREFIX',
19 'PNGPREFIX_H',
20 'PNG_USE_READ_MACROS',
21 ],
17 }, 22 },
18 'targets': [ 23 'targets': [
19 { 24 {
20 'target_name': 'pdfium_test', 25 'target_name': 'pdfium_test',
21 'sources': [ 26 'sources': [
22 'pdfium_test.cc', 27 'pdfium_test.cc',
23 'image_diff_png.cc', 28 'image_diff_png.cc',
24 ], 29 ],
25 }, 30 },
26 { 31 {
27 'target_name': 'pdfium_diff', 32 'target_name': 'pdfium_diff',
28 'type': 'executable', 33 'type': 'executable',
29 'variables': { 'enable_wexit_time_destructors': 1, }, 34 'variables': { 'enable_wexit_time_destructors': 1, },
30 'dependencies': [ 35 'dependencies': [
31 '../pdfium.gyp:fxcodec', 36 '../pdfium.gyp:fxcodec',
32 '../third_party/third_party.gyp:pdfium_base', 37 '../third_party/third_party.gyp:pdfium_base',
33 ], 38 ],
34 'include_dirs': [ 39 'include_dirs': [
35 '../../', 40 '../../',
36 ], 41 ],
37 'sources': [ 42 'sources': [
38 'image_diff.cc', 43 'image_diff.cc',
39 'image_diff_png.h', 44 'image_diff_png.h',
40 'image_diff_png.cc', 45 'image_diff_png.cc',
41 ], 46 ],
42 }, 47 },
43 ], 48 ],
44 } 49 }
OLDNEW
« no previous file with comments | « samples/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698