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

Side by Side Diff: gyp/SampleApp.gyp

Issue 17904006: Add an option to have a PdfViewer in SampleApp. Add a parameter --pdfDir to pass the dir with pdfs.… (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | samplecode/SampleApp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'variables': {
3 #manaully set sample_pdf_file_viewer to 1 to have the PdfViewer in SampleApp
4 'sample_pdf_file_viewer%': 0,
5 },
2 'targets': [ 6 'targets': [
3 { 7 {
4 'target_name': 'SampleApp', 8 'target_name': 'SampleApp',
5 'type': 'executable', 9 'type': 'executable',
6 'mac_bundle' : 1, 10 'mac_bundle' : 1,
7 'include_dirs' : [ 11 'include_dirs' : [
8 '../src/core', 12 '../src/core',
9 '../src/effects', #needed for BlurMask.h 13 '../src/effects', #needed for BlurMask.h
10 '../gm', # needed to pull gm.h 14 '../gm', # needed to pull gm.h
11 '../samplecode', # To pull SampleApp.h and SampleCode.h 15 '../samplecode', # To pull SampleApp.h and SampleCode.h
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 'dependencies': [ 148 'dependencies': [
145 'skia_lib.gyp:skia_lib', 149 'skia_lib.gyp:skia_lib',
146 'views.gyp:views', 150 'views.gyp:views',
147 'animator.gyp:animator', 151 'animator.gyp:animator',
148 'xml.gyp:xml', 152 'xml.gyp:xml',
149 'experimental.gyp:experimental', 153 'experimental.gyp:experimental',
150 'pdf.gyp:pdf', 154 'pdf.gyp:pdf',
151 'views_animated.gyp:views_animated', 155 'views_animated.gyp:views_animated',
152 'lua.gyp:lua', 156 'lua.gyp:lua',
153 ], 157 ],
154 'conditions' : [ 158 'conditions' : [
159 [ 'sample_pdf_file_viewer == 1', {
160 'defines': [
161 'SAMPLE_PDF_FILE_VIEWER',
162 ],
163 'dependencies': [
164 'pdfviewer.gyp:libpdfviewer',
165 ],
166 'include_dirs' : [
167 '../experimental/PdfViewer/pdfparser/podofo',
168 ],
169 'sources': [
170 '../samplecode/SamplePdfFileViewer.cpp',
171 ]
172 }],
155 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { 173 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
156 'sources!': [ 174 'sources!': [
157 '../samplecode/SampleDecode.cpp', 175 '../samplecode/SampleDecode.cpp',
158 ], 176 ],
159 }], 177 }],
160 [ 'skia_os == "win"', { 178 [ 'skia_os == "win"', {
161 'sources!': [ 179 'sources!': [
162 # require UNIX functions 180 # require UNIX functions
163 '../samplecode/SampleEncode.cpp', 181 '../samplecode/SampleEncode.cpp',
164 ], 182 ],
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 }, 325 },
308 }, 326 },
309 ], 327 ],
310 } 328 }
311 329
312 # Local Variables: 330 # Local Variables:
313 # tab-width:2 331 # tab-width:2
314 # indent-tabs-mode:nil 332 # indent-tabs-mode:nil
315 # End: 333 # End:
316 # vim: set expandtab tabstop=2 shiftwidth=2: 334 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | samplecode/SampleApp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698