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

Side by Side Diff: samples/samples.gyp

Issue 2286653002: Remove most things GYP. (Closed)
Patch Set: rebase Created 4 years, 3 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 | « pdfium.gyp ('k') | testing/gmock.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 PDFium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'pdf_enable_v8%': 1,
8 'pdf_enable_xfa%': 0, # Set to 1 in standalone builds by standalone.gypi.
9 'pdf_use_skia%': 0,
10 },
11 'target_defaults': {
12 'defines' : [
13 'PNG_PREFIX',
14 'PNG_USE_READ_MACROS',
15 ],
16 'include_dirs': [
17 # This is implicit in GN.
18 '<(DEPTH)',
19 '..',
20 ],
21 'conditions': [
22 ['pdf_enable_v8==1', {
23 'defines': [
24 'PDF_ENABLE_V8',
25 ],
26 'include_dirs': [
27 '<(DEPTH)/v8',
28 '<(DEPTH)/v8/include',
29 ],
30 }],
31 ['pdf_enable_xfa==1', {
32 'defines': [
33 'PDF_ENABLE_XFA',
34 ],
35 }],
36 ],
37 },
38 'targets': [
39 {
40 'target_name': 'pdfium_test',
41 'type': 'executable',
42 'dependencies': [
43 '../pdfium.gyp:pdfium',
44 '../pdfium.gyp:test_support',
45 # Regardless of whether the library ships against system freetype,
46 # always link this binary against the bundled one for consistency
47 # of results across platforms.
48 '../third_party/third_party.gyp:fx_freetype',
49 ],
50 'sources': [
51 'pdfium_test.cc',
52 'image_diff_png.cc',
53 ],
54 'link_settings': {
55 'libraries!': [
56 '-lfreetype',
57 ],
58 },
59 'conditions': [
60 ['pdf_enable_xfa==0', {
61 'dependencies': [
62 '../third_party/third_party.gyp:fx_lpng',
63 ],
64 }],
65 ['pdf_enable_v8==1', {
66 'dependencies': [
67 '<(DEPTH)/v8/src/v8.gyp:v8_libplatform',
68 ],
69 }],
70 ['pdf_use_skia==1', {
71 'defines': ['PDF_ENABLE_SKIA'],
72 'dependencies': [
73 '<(DEPTH)/skia/skia.gyp:skia',
74 ],
75 }],
76 ],
77 },
78 {
79 'target_name': 'pdfium_diff',
80 'type': 'executable',
81 'variables': { 'enable_wexit_time_destructors': 1, },
82 'dependencies': [
83 '../pdfium.gyp:pdfium',
84 '../third_party/third_party.gyp:pdfium_base',
85 ],
86 'sources': [
87 'image_diff.cc',
88 'image_diff_png.h',
89 'image_diff_png.cc',
90 ],
91 'conditions': [
92 ['pdf_enable_xfa==0', {
93 'dependencies': [
94 '../third_party/third_party.gyp:fx_lpng',
95 ],
96 }],
97 ],
98 },
99 ],
100 }
OLDNEW
« no previous file with comments | « pdfium.gyp ('k') | testing/gmock.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698