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

Side by Side Diff: gyp/pdfviewer_lib.gyp

Issue 23038004: pdfviewer: (cleanup) put the gyp for library code in a separate file (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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 | « gyp/pdfviewer.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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': [
8 'apptype_console.gypi',
9 ],
10 # TODO(edisonn): Hack! on mack, SHARED_INTERMEDIATE_DIR can't be reliable used in a sources context 7 # TODO(edisonn): Hack! on mack, SHARED_INTERMEDIATE_DIR can't be reliable used in a sources context
11 'conditions' : [ 8 'conditions' : [
12 [ 'skia_os != "mac"', { 9 [ 'skia_os != "mac"', {
13 'variables': { 10 'variables': {
14 'GENERATE_DIR%' : '<(SHARED_INTERMEDIATE_DIR)', 11 'GENERATE_DIR%' : '<(SHARED_INTERMEDIATE_DIR)',
15 }, 12 },
16 }, 13 },
17 ], 14 ],
18 [ 'skia_os == "mac"', { 15 [ 'skia_os == "mac"', {
19 'variables': { 16 'variables': {
20 'GENERATE_DIR%' : '../src/tmp_autogen', 17 'GENERATE_DIR%' : '../src/tmp_autogen',
21 }, 18 },
22 }, 19 },
23 ], 20 ],
24 ], 21 ],
25 'targets': [ 22 'targets': [
26 { 23 {
27 'target_name': 'libpdfviewer', 24 'target_name': 'pdfviewer_lib',
28 'type': 'static_library', 25 'type': 'static_library',
29 'sources': [ 26 'sources': [
30 '../experimental/PdfViewer/SkPdfGraphicsState.cpp', 27 '../experimental/PdfViewer/SkPdfGraphicsState.cpp',
31 '../experimental/PdfViewer/SkPdfFont.cpp', 28 '../experimental/PdfViewer/SkPdfFont.cpp',
32 '../experimental/PdfViewer/SkPdfRenderer.cpp', 29 '../experimental/PdfViewer/SkPdfRenderer.cpp',
33 '../experimental/PdfViewer/SkPdfUtils.cpp', 30 '../experimental/PdfViewer/SkPdfUtils.cpp',
34 #'../experimental/PdfViewer/SkPdfNYI.cpp', 31 #'../experimental/PdfViewer/SkPdfNYI.cpp',
35 '../experimental/PdfViewer/SkTrackDevice.cpp', 32 '../experimental/PdfViewer/SkTrackDevice.cpp',
36 '../experimental/PdfViewer/SkTracker.cpp', 33 '../experimental/PdfViewer/SkTracker.cpp',
37 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp', 34 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp',
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 '../experimental/PdfViewer', 89 '../experimental/PdfViewer',
93 '../experimental/PdfViewer/pdfparser', 90 '../experimental/PdfViewer/pdfparser',
94 '../experimental/PdfViewer/pdfparser/native', 91 '../experimental/PdfViewer/pdfparser/native',
95 '<(GENERATE_DIR)/native/autogen', 92 '<(GENERATE_DIR)/native/autogen',
96 ], 93 ],
97 'dependencies': [ 94 'dependencies': [
98 'skia_lib.gyp:skia_lib', 95 'skia_lib.gyp:skia_lib',
99 'zlib.gyp:zlib', 96 'zlib.gyp:zlib',
100 ], 97 ],
101 }, 98 },
102 {
103 'target_name': 'pdfviewer',
104 'type': 'executable',
105 'cflags': ['-fexceptions'],
106 'cflags_cc': ['-fexceptions'],
107 'cflags!': [ '-fno-exceptions' ],
108 'cflags_cc!': [ '-fno-exceptions' ],
109 'sources': [
110 '../experimental/PdfViewer/pdf_viewer_main.cpp',
111 ],
112 'include_dirs': [
113 '../experimental/PdfViewer',
114 '../experimental/PdfViewer/pdfparser',
115 '../experimental/PdfViewer/pdfparser/autogen',
116 '../experimental/PdfViewer/pdfparser/native',
117 '../experimental/PdfViewer/pdfparser/native/autogen',
118 ],
119 'dependencies': [
120 'skia_lib.gyp:skia_lib',
121 'flags.gyp:flags',
122 'libpdfviewer',
123 'chop_transparency',
124 ],
125 },
126 {
127 'target_name': 'chop_transparency',
128 'type': 'executable',
129 'sources': [
130 '../experimental/PdfViewer/chop_transparency_main.cpp',
131 ],
132 'include_dirs': [
133 # For SkBitmapHasher.h
134 '../src/utils/',
135 ],
136 'dependencies': [
137 'skia_lib.gyp:skia_lib',
138 'flags.gyp:flags',
139 ],
140 },
141 ], 99 ],
142 } 100 }
143 101
144 # Local Variables: 102 # Local Variables:
145 # tab-width:2 103 # tab-width:2
146 # indent-tabs-mode:nil 104 # indent-tabs-mode:nil
147 # End: 105 # End:
148 # vim: set expandtab tabstop=2 shiftwidth=2: 106 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/pdfviewer.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698