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

Side by Side Diff: gyp/pdfviewer_lib.gyp

Issue 22900010: pdfviewer: check in pdfapi classes (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 | « experimental/PdfViewer/spec2def.py ('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 # TODO(edisonn): Hack! on mack, SHARED_INTERMEDIATE_DIR can't be reliable used in a sources context
8 'conditions' : [
9 [ 'skia_os != "mac"', {
10 'variables': {
11 'GENERATE_DIR%' : '<(SHARED_INTERMEDIATE_DIR)',
12 },
13 },
14 ],
15 [ 'skia_os == "mac"', {
16 'variables': {
17 'GENERATE_DIR%' : '../src/tmp_autogen',
18 },
19 },
20 ],
21 ],
22 'targets': [ 7 'targets': [
23 { 8 {
24 'target_name': 'pdfviewer_lib', 9 'target_name': 'pdfviewer_lib',
25 'type': 'static_library', 10 'type': 'static_library',
26 'sources': [ 11 'sources': [
27 '../experimental/PdfViewer/SkPdfGraphicsState.cpp', 12 '../experimental/PdfViewer/SkPdfGraphicsState.cpp',
28 '../experimental/PdfViewer/SkPdfFont.cpp', 13 '../experimental/PdfViewer/SkPdfFont.cpp',
29 '../experimental/PdfViewer/SkPdfRenderer.cpp', 14 '../experimental/PdfViewer/SkPdfRenderer.cpp',
30 '../experimental/PdfViewer/SkPdfUtils.cpp', 15 '../experimental/PdfViewer/SkPdfUtils.cpp',
31 #'../experimental/PdfViewer/SkPdfNYI.cpp', 16 #'../experimental/PdfViewer/SkPdfNYI.cpp',
32 '../experimental/PdfViewer/SkTrackDevice.cpp', 17 '../experimental/PdfViewer/SkTrackDevice.cpp',
33 '../experimental/PdfViewer/SkTracker.cpp', 18 '../experimental/PdfViewer/SkTracker.cpp',
34 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp', 19 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeObject.cpp',
35 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp', 20 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp',
36 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp', 21 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp',
37 '<(GENERATE_DIR)/native/autogen/SkPdfMapper_autogen.cpp', 22 '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMapper_autogen.c pp',
38 '<(GENERATE_DIR)/native/autogen/SkPdfHeaders_autogen.cpp', 23 '../experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfHeaders_autogen. cpp',
39 ],
40 'actions': [
41 {
42 'action_name': 'spec2def',
43 'inputs': [
44 '../experimental/PdfViewer/spec2def.py',
45 '../experimental/PdfViewer/PdfReference-okular-1.txt',
46 ],
47 'outputs': [
48 '<(GENERATE_DIR)/pdfspec_autogen.py',
49 ],
50 'action': ['python', '../experimental/PdfViewer/spec2def.py', '../expe rimental/PdfViewer/PdfReference-okular-1.txt', '<(GENERATE_DIR)/pdfspec_autogen. py'],
51 },
52 {
53 'action_name': 'copy_files1',
54 'inputs' : ['../experimental/PdfViewer/datatypes.py'],
55 'outputs': [
56 '<(GENERATE_DIR)/datatypes.py',
57 ],
58 'action': ['python', '../experimental/PdfViewer/copy_files.py', '<(GEN ERATE_DIR)', '../experimental/PdfViewer/datatypes.py'],
59 },
60 {
61 'action_name': 'copy_files2',
62
63 'inputs' : ['../experimental/PdfViewer/generate_code.py'],
64 'outputs': [
65 '<(GENERATE_DIR)/generate_code.py',
66 ],
67 'action': ['python', '../experimental/PdfViewer/copy_files.py', '<(GEN ERATE_DIR)', '../experimental/PdfViewer/generate_code.py'],
68 },
69 {
70 'action_name': 'generate_code',
71 'inputs': [
72 '<(GENERATE_DIR)/datatypes.py',
73 '<(GENERATE_DIR)/generate_code.py',
74 '<(GENERATE_DIR)/pdfspec_autogen.py',
75 ],
76 'outputs': [
77 '<(GENERATE_DIR)/native/autogen/SkPdfEnums_autogen.h',
78 '<(GENERATE_DIR)/native/autogen/SkPdfMapper_autogen.h',
79 '<(GENERATE_DIR)/native/autogen/SkPdfHeaders_autogen.h',
80 '<(GENERATE_DIR)/native/autogen/SkPdfMapper_autogen.cpp',
81 '<(GENERATE_DIR)/native/autogen/SkPdfHeaders_autogen.cpp',
82 # TODO(edisonn): ok, there are many more files here, which we should list but since
83 # any change in the above should trigger a change here, we should be fine normally
84 ],
85 'action': ['python', '<(GENERATE_DIR)/generate_code.py', '<(GENERATE_D IR)'],
86 },
87 ], 24 ],
88 'include_dirs': [ 25 'include_dirs': [
89 '../experimental/PdfViewer', 26 '../experimental/PdfViewer',
90 '../experimental/PdfViewer/pdfparser', 27 '../experimental/PdfViewer/pdfparser',
91 '../experimental/PdfViewer/pdfparser/native', 28 '../experimental/PdfViewer/pdfparser/native',
92 '<(GENERATE_DIR)/native/autogen', 29 '../experimental/PdfViewer/pdfparser/native/pdfapi',
93 ], 30 ],
94 'dependencies': [ 31 'dependencies': [
95 'skia_lib.gyp:skia_lib', 32 'skia_lib.gyp:skia_lib',
96 'zlib.gyp:zlib', 33 'zlib.gyp:zlib',
97 ], 34 ],
98 }, 35 },
99 ], 36 ],
100 } 37 }
101 38
102 # Local Variables: 39 # Local Variables:
103 # tab-width:2 40 # tab-width:2
104 # indent-tabs-mode:nil 41 # indent-tabs-mode:nil
105 # End: 42 # End:
106 # vim: set expandtab tabstop=2 shiftwidth=2: 43 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « experimental/PdfViewer/spec2def.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698