OLD | NEW |
---|---|
1 { | 1 { |
2 'variables': { | |
3 'sample_pdf_file_viewer%': 0, | |
4 # set sample_pdf_file_viewer to 1 and uncomment next line too, | |
5 # podofo dependency has plentry od warnings in the header files that will be errors otherwise | |
vandebo (ex-Chrome)
2013/06/26 18:45:26
typo: od => of
edisonn
2013/06/26 18:52:30
Done.
| |
6 #'skia_warnings_as_errors': 0, | |
vandebo (ex-Chrome)
2013/06/26 18:45:26
Can't you just set this in the podofo build target
edisonn
2013/06/26 18:52:30
it is done, but there are warnings in the public .
| |
7 }, | |
2 'targets': [ | 8 'targets': [ |
3 { | 9 { |
4 'target_name': 'SampleApp', | 10 'target_name': 'SampleApp', |
5 'type': 'executable', | 11 'type': 'executable', |
6 'mac_bundle' : 1, | 12 'mac_bundle' : 1, |
7 'include_dirs' : [ | 13 'include_dirs' : [ |
8 '../src/core', | 14 '../src/core', |
9 '../src/effects', #needed for BlurMask.h | 15 '../src/effects', #needed for BlurMask.h |
10 '../gm', # needed to pull gm.h | 16 '../gm', # needed to pull gm.h |
11 '../samplecode', # To pull SampleApp.h and SampleCode.h | 17 '../samplecode', # To pull SampleApp.h and SampleCode.h |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 'dependencies': [ | 150 'dependencies': [ |
145 'skia_lib.gyp:skia_lib', | 151 'skia_lib.gyp:skia_lib', |
146 'views.gyp:views', | 152 'views.gyp:views', |
147 'animator.gyp:animator', | 153 'animator.gyp:animator', |
148 'xml.gyp:xml', | 154 'xml.gyp:xml', |
149 'experimental.gyp:experimental', | 155 'experimental.gyp:experimental', |
150 'pdf.gyp:pdf', | 156 'pdf.gyp:pdf', |
151 'views_animated.gyp:views_animated', | 157 'views_animated.gyp:views_animated', |
152 'lua.gyp:lua', | 158 'lua.gyp:lua', |
153 ], | 159 ], |
154 'conditions' : [ | 160 'conditions' : [ |
161 [ 'sample_pdf_file_viewer == 1', { | |
162 'defines': [ | |
163 'SAMPLE_PDF_FILE_VIEWER', | |
164 ], | |
165 'dependencies': [ | |
166 'pdfviewer.gyp:libpdfviewer', | |
167 ], | |
168 'include_dirs' : [ | |
169 '../third_party/externals/podofo/src/base', | |
170 '../third_party/externals/podofo/src', | |
171 '../third_party/externals/podofo', | |
172 '../experimental/PdfViewer', | |
173 '../experimental/PdfViewer/autogen', | |
174 ], | |
175 'sources': [ | |
176 '../samplecode/SamplePdfFileViewer.cpp', | |
177 ] | |
178 }], | |
155 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 179 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
156 'sources!': [ | 180 'sources!': [ |
157 '../samplecode/SampleDecode.cpp', | 181 '../samplecode/SampleDecode.cpp', |
158 ], | 182 ], |
159 }], | 183 }], |
160 [ 'skia_os == "win"', { | 184 [ 'skia_os == "win"', { |
161 'sources!': [ | 185 'sources!': [ |
162 # require UNIX functions | 186 # require UNIX functions |
163 '../samplecode/SampleEncode.cpp', | 187 '../samplecode/SampleEncode.cpp', |
164 ], | 188 ], |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
307 }, | 331 }, |
308 }, | 332 }, |
309 ], | 333 ], |
310 } | 334 } |
311 | 335 |
312 # Local Variables: | 336 # Local Variables: |
313 # tab-width:2 | 337 # tab-width:2 |
314 # indent-tabs-mode:nil | 338 # indent-tabs-mode:nil |
315 # End: | 339 # End: |
316 # vim: set expandtab tabstop=2 shiftwidth=2: | 340 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |