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

Side by Side Diff: samples/samples.gyp

Issue 1776313002: Add bitmaps and skp output to Skia port (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments and fix gn Created 4 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
« samples/pdfium_test.cc ('K') | « 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 'variables': { 6 'variables': {
7 'pdf_enable_v8%': 1, 7 'pdf_enable_v8%': 1,
8 'pdf_enable_xfa%': 0, # Set to 1 in standalone builds by standalone.gypi. 8 'pdf_enable_xfa%': 0, # Set to 1 in standalone builds by standalone.gypi.
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 ['pdf_enable_xfa==0', { 59 ['pdf_enable_xfa==0', {
60 'dependencies': [ 60 'dependencies': [
61 '../third_party/third_party.gyp:fx_lpng', 61 '../third_party/third_party.gyp:fx_lpng',
62 ], 62 ],
63 }], 63 }],
64 ['pdf_enable_v8==1', { 64 ['pdf_enable_v8==1', {
65 'dependencies': [ 65 'dependencies': [
66 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', 66 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
67 ], 67 ],
68 }], 68 }],
69 ['pdf_use_skia==1', {
70 'defines': ['PDF_ENABLE_SKIA'],
71 'dependencies': [
72 '<(DEPTH)/skia/skia.gyp:skia',
73 ],
74 }],
69 ], 75 ],
70 }, 76 },
71 { 77 {
72 'target_name': 'pdfium_diff', 78 'target_name': 'pdfium_diff',
73 'type': 'executable', 79 'type': 'executable',
74 'variables': { 'enable_wexit_time_destructors': 1, }, 80 'variables': { 'enable_wexit_time_destructors': 1, },
75 'dependencies': [ 81 'dependencies': [
76 '../pdfium.gyp:pdfium', 82 '../pdfium.gyp:pdfium',
77 '../third_party/third_party.gyp:pdfium_base', 83 '../third_party/third_party.gyp:pdfium_base',
78 ], 84 ],
79 'sources': [ 85 'sources': [
80 'image_diff.cc', 86 'image_diff.cc',
81 'image_diff_png.h', 87 'image_diff_png.h',
82 'image_diff_png.cc', 88 'image_diff_png.cc',
83 ], 89 ],
84 'conditions': [ 90 'conditions': [
85 ['pdf_enable_xfa==0', { 91 ['pdf_enable_xfa==0', {
86 'dependencies': [ 92 'dependencies': [
87 '../third_party/third_party.gyp:fx_lpng', 93 '../third_party/third_party.gyp:fx_lpng',
88 ], 94 ],
89 }], 95 }],
90 ], 96 ],
91 }, 97 },
92 ], 98 ],
93 } 99 }
OLDNEW
« samples/pdfium_test.cc ('K') | « samples/pdfium_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698