scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # Copyright 2015 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
edisonn@google.com | 01cd4d5 | 2013-06-10 20:44:45 +0000 | [diff] [blame] | 5 | # GYP file to build pdfviewer. |
| 6 | # |
| 7 | # To build on Linux: |
| 8 | # ./gyp_skia pdfviewer.gyp && make pdfviewer |
| 9 | # |
| 10 | { |
edisonn@google.com | 01cd4d5 | 2013-06-10 20:44:45 +0000 | [diff] [blame] | 11 | 'includes': [ |
| 12 | 'apptype_console.gypi', |
| 13 | ], |
| 14 | 'targets': [ |
| 15 | { |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 16 | 'target_name': 'pdfviewer', |
| 17 | 'type': 'executable', |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 18 | 'sources': [ |
| 19 | '../experimental/PdfViewer/pdf_viewer_main.cpp', |
| 20 | ], |
| 21 | 'include_dirs': [ |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 22 | '../experimental/PdfViewer', |
scroggo@google.com | 9092289 | 2013-11-14 19:09:27 +0000 | [diff] [blame] | 23 | '../experimental/PdfViewer/inc', |
edisonn@google.com | 3aac1f9 | 2013-07-02 22:42:53 +0000 | [diff] [blame] | 24 | '../experimental/PdfViewer/pdfparser', |
edisonn@google.com | 571c70b | 2013-07-10 17:09:50 +0000 | [diff] [blame] | 25 | '../experimental/PdfViewer/pdfparser/native', |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 26 | ], |
| 27 | 'dependencies': [ |
edisonn@google.com | 5149bd9 | 2013-08-05 17:26:11 +0000 | [diff] [blame] | 28 | 'chop_transparency', |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 29 | 'flags.gyp:flags', |
| 30 | 'pdfviewer_lib.gyp:pdfviewer_lib', |
| 31 | 'skia_lib.gyp:skia_lib', |
edisonn@google.com | 5149bd9 | 2013-08-05 17:26:11 +0000 | [diff] [blame] | 32 | ], |
| 33 | }, |
| 34 | { |
| 35 | 'target_name': 'chop_transparency', |
| 36 | 'type': 'executable', |
| 37 | 'sources': [ |
| 38 | '../experimental/PdfViewer/chop_transparency_main.cpp', |
| 39 | ], |
| 40 | 'include_dirs': [ |
| 41 | # For SkBitmapHasher.h |
| 42 | '../src/utils/', |
| 43 | ], |
| 44 | 'dependencies': [ |
edisonn@google.com | 5149bd9 | 2013-08-05 17:26:11 +0000 | [diff] [blame] | 45 | 'flags.gyp:flags', |
edisonn@google.com | 63ce82f | 2013-08-16 16:13:44 +0000 | [diff] [blame] | 46 | 'skia_lib.gyp:skia_lib', |
edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 47 | ], |
| 48 | }, |
skia.committer@gmail.com | 7fb5373 | 2013-06-11 07:01:17 +0000 | [diff] [blame] | 49 | ], |
edisonn@google.com | 01cd4d5 | 2013-06-10 20:44:45 +0000 | [diff] [blame] | 50 | } |