| OLD | NEW |
| 1 # GYP file to build pdfviewer. | 1 # GYP file to build pdfviewer. |
| 2 # | 2 # |
| 3 # To build on Linux: | 3 # To build on Linux: |
| 4 # ./gyp_skia pdfviewer.gyp && make pdfviewer | 4 # ./gyp_skia pdfviewer.gyp && make pdfviewer |
| 5 # | 5 # |
| 6 { | 6 { |
| 7 'includes': [ | 7 'includes': [ |
| 8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
| 9 ], | 9 ], |
| 10 'targets': [ | 10 'targets': [ |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 'action': ['python', '<(SHARED_INTERMEDIATE_DIR)/generate_code.py', '<
(SHARED_INTERMEDIATE_DIR)'], | 65 'action': ['python', '<(SHARED_INTERMEDIATE_DIR)/generate_code.py', '<
(SHARED_INTERMEDIATE_DIR)'], |
| 66 }, | 66 }, |
| 67 ], | 67 ], |
| 68 'include_dirs': [ | 68 'include_dirs': [ |
| 69 '../experimental/PdfViewer', | 69 '../experimental/PdfViewer', |
| 70 '../experimental/PdfViewer/pdfparser', | 70 '../experimental/PdfViewer/pdfparser', |
| 71 '../experimental/PdfViewer/pdfparser/native', | 71 '../experimental/PdfViewer/pdfparser/native', |
| 72 '<(SHARED_INTERMEDIATE_DIR)/native/autogen', | 72 '<(SHARED_INTERMEDIATE_DIR)/native/autogen', |
| 73 ], | 73 ], |
| 74 'dependencies': [ | 74 'dependencies': [ |
| 75 'core.gyp:core', | 75 'skia_lib.gyp:skia_lib', |
| 76 'effects.gyp:effects', | |
| 77 'images.gyp:images', | |
| 78 'zlib.gyp:zlib', | 76 'zlib.gyp:zlib', |
| 79 ], | 77 ], |
| 80 }, | 78 }, |
| 81 { | 79 { |
| 82 'target_name': 'pdfviewer', | 80 'target_name': 'pdfviewer', |
| 83 'type': 'executable', | 81 'type': 'executable', |
| 84 'cflags': ['-fexceptions'], | 82 'cflags': ['-fexceptions'], |
| 85 'cflags_cc': ['-fexceptions'], | 83 'cflags_cc': ['-fexceptions'], |
| 86 'cflags!': [ '-fno-exceptions' ], | 84 'cflags!': [ '-fno-exceptions' ], |
| 87 'cflags_cc!': [ '-fno-exceptions' ], | 85 'cflags_cc!': [ '-fno-exceptions' ], |
| 88 'sources': [ | 86 'sources': [ |
| 89 '../experimental/PdfViewer/pdf_viewer_main.cpp', | 87 '../experimental/PdfViewer/pdf_viewer_main.cpp', |
| 90 ], | 88 ], |
| 91 'include_dirs': [ | 89 'include_dirs': [ |
| 92 '../experimental/PdfViewer', | 90 '../experimental/PdfViewer', |
| 93 '../experimental/PdfViewer/pdfparser', | 91 '../experimental/PdfViewer/pdfparser', |
| 94 '../experimental/PdfViewer/pdfparser/autogen', | 92 '../experimental/PdfViewer/pdfparser/autogen', |
| 95 '../experimental/PdfViewer/pdfparser/native', | 93 '../experimental/PdfViewer/pdfparser/native', |
| 96 '../experimental/PdfViewer/pdfparser/native/autogen', | 94 '../experimental/PdfViewer/pdfparser/native/autogen', |
| 97 ], | 95 ], |
| 98 'dependencies': [ | 96 'dependencies': [ |
| 99 'core.gyp:core', | 97 'skia_lib.gyp:skia_lib', |
| 100 'flags.gyp:flags', | 98 'flags.gyp:flags', |
| 101 'libpdfviewer', | 99 'libpdfviewer', |
| 102 'chop_transparency', | 100 'chop_transparency', |
| 103 ], | 101 ], |
| 104 }, | 102 }, |
| 105 { | 103 { |
| 106 'target_name': 'chop_transparency', | 104 'target_name': 'chop_transparency', |
| 107 'type': 'executable', | 105 'type': 'executable', |
| 108 'sources': [ | 106 'sources': [ |
| 109 '../experimental/PdfViewer/chop_transparency_main.cpp', | 107 '../experimental/PdfViewer/chop_transparency_main.cpp', |
| 110 ], | 108 ], |
| 111 'include_dirs': [ | 109 'include_dirs': [ |
| 112 # For SkBitmapHasher.h | 110 # For SkBitmapHasher.h |
| 113 '../src/utils/', | 111 '../src/utils/', |
| 114 ], | 112 ], |
| 115 'dependencies': [ | 113 'dependencies': [ |
| 116 'skia_lib.gyp:skia_lib', | 114 'skia_lib.gyp:skia_lib', |
| 117 'flags.gyp:flags', | 115 'flags.gyp:flags', |
| 118 ], | 116 ], |
| 119 }, | 117 }, |
| 120 ], | 118 ], |
| 121 } | 119 } |
| 122 | 120 |
| 123 # Local Variables: | 121 # Local Variables: |
| 124 # tab-width:2 | 122 # tab-width:2 |
| 125 # indent-tabs-mode:nil | 123 # indent-tabs-mode:nil |
| 126 # End: | 124 # End: |
| 127 # vim: set expandtab tabstop=2 shiftwidth=2: | 125 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |