| OLD | NEW |
| 1 # |
| 1 { | 2 { |
| 2 'variables': { | 3 'variables': { |
| 3 #manually set sample_pdf_file_viewer to 1 to have the PdfViewer in SampleApp | 4 #manually set sample_pdf_file_viewer to 1 to have the PdfViewer in SampleApp |
| 4 'sample_pdf_file_viewer%': 0, | 5 'sample_pdf_file_viewer%': 0, |
| 5 }, | 6 }, |
| 6 'targets': [ | 7 'targets': [ |
| 7 { | 8 { |
| 8 'target_name': 'SampleApp', | 9 'target_name': 'SampleApp', |
| 9 'type': 'executable', | 10 'type': 'executable', |
| 10 'mac_bundle' : 1, | 11 'mac_bundle' : 1, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 ], | 161 ], |
| 161 'conditions' : [ | 162 'conditions' : [ |
| 162 [ 'sample_pdf_file_viewer == 1', { | 163 [ 'sample_pdf_file_viewer == 1', { |
| 163 'defines': [ | 164 'defines': [ |
| 164 'SAMPLE_PDF_FILE_VIEWER', | 165 'SAMPLE_PDF_FILE_VIEWER', |
| 165 ], | 166 ], |
| 166 'dependencies': [ | 167 'dependencies': [ |
| 167 'pdfviewer_lib.gyp:pdfviewer_lib', | 168 'pdfviewer_lib.gyp:pdfviewer_lib', |
| 168 ], | 169 ], |
| 169 'include_dirs' : [ | 170 'include_dirs' : [ |
| 170 '../experimental/PdfViewer/', | 171 '../experimental/PdfViewer/inc', |
| 171 ], | 172 ], |
| 172 'sources': [ | 173 'sources': [ |
| 173 '../samplecode/SamplePdfFileViewer.cpp', | 174 '../samplecode/SamplePdfFileViewer.cpp', |
| 174 ] | 175 ] |
| 175 }], | 176 }], |
| 176 [ 'skia_os == "win"', { | 177 [ 'skia_os == "win"', { |
| 177 'sources!': [ | 178 'sources!': [ |
| 178 # require UNIX functions | 179 # require UNIX functions |
| 179 '../samplecode/SampleEncode.cpp', | 180 '../samplecode/SampleEncode.cpp', |
| 180 ], | 181 ], |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 }, | 321 }, |
| 321 }, | 322 }, |
| 322 ], | 323 ], |
| 323 } | 324 } |
| 324 | 325 |
| 325 # Local Variables: | 326 # Local Variables: |
| 326 # tab-width:2 | 327 # tab-width:2 |
| 327 # indent-tabs-mode:nil | 328 # indent-tabs-mode:nil |
| 328 # End: | 329 # End: |
| 329 # vim: set expandtab tabstop=2 shiftwidth=2: | 330 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |