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

Side by Side Diff: gyp/pdfviewer.gyp

Issue 20328002: pdfviewer: gyp does not run in a consistent way on various palt forms, and it generates some files … (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/generate_code.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 'includes': [ 7 'includes': [
8 'apptype_console.gypi', 8 'apptype_console.gypi',
9 ], 9 ],
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'libpdfviewer', 12 'target_name': 'libpdfviewer',
13 'type': 'static_library', 13 'type': 'static_library',
14 'sources': [ 14 'sources': [
15 '../experimental/PdfViewer/SkPdfBasics.cpp', 15 '../experimental/PdfViewer/SkPdfBasics.cpp',
16 '../experimental/PdfViewer/SkPdfFont.cpp', 16 '../experimental/PdfViewer/SkPdfFont.cpp',
17 '../experimental/PdfViewer/SkPdfRenderer.cpp', 17 '../experimental/PdfViewer/SkPdfRenderer.cpp',
18 '../experimental/PdfViewer/SkPdfUtils.cpp', 18 '../experimental/PdfViewer/SkPdfUtils.cpp',
19 #'../experimental/PdfViewer/SkPdfNYI.cpp', 19 #'../experimental/PdfViewer/SkPdfNYI.cpp',
20 '../experimental/PdfViewer/SkTrackDevice.cpp', 20 '../experimental/PdfViewer/SkTrackDevice.cpp',
21 '../experimental/PdfViewer/SkTracker.cpp', 21 '../experimental/PdfViewer/SkTracker.cpp',
22 '../experimental/PdfViewer/pdfparser/native/SkPdfObject.cpp', 22 '../experimental/PdfViewer/pdfparser/native/SkPdfObject.cpp',
23 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp', 23 '../experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp',
24 '../experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.cpp', 24 '../experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.cpp',
25 '../experimental/PdfViewer/pdfparser/native/autogen/SkPdfMapper_autogen. cpp', 25 '<(SHARED_INTERMEDIATE_DIR)/native/autogen/SkPdfMapper_autogen.cpp',
26 '../experimental/PdfViewer/pdfparser/native/autogen/SkPdfHeaders_autogen .cpp', 26 '<(SHARED_INTERMEDIATE_DIR)/native/autogen/SkPdfHeaders_autogen.cpp',
27 ], 27 ],
28 'copies': [
29 {
30 'files': [
31 '../experimental/PdfViewer/datatypes.py',
32 '../experimental/PdfViewer/generate_code.py',
33 ],
34 'destination': '<(SHARED_INTERMEDIATE_DIR)',
35 },
36 ],
28 'actions': [ 37 'actions': [
29 { 38 {
30 'action_name': 'spec2def', 39 'action_name': 'spec2def',
31 'inputs': [ 40 'inputs': [
32 '../experimental/PdfViewer/spec2def.py', 41 '../experimental/PdfViewer/spec2def.py',
33 '../experimental/PdfViewer/PdfReference-okular-1.txt', 42 '../experimental/PdfViewer/PdfReference-okular-1.txt',
34 ], 43 ],
35 'outputs': [ 44 'outputs': [
36 '<(skia_src_path)/../experimental/PdfViewer/autogen/pdfspec_autogen. py', 45 '<(SHARED_INTERMEDIATE_DIR)/pdfspec_autogen.py',
37 ], 46 ],
38 'action': ['python', '<(skia_src_path)/../experimental/PdfViewer/spec2 def.py', '<(skia_src_path)/../experimental/PdfViewer/PdfReference-okular-1.txt', '<(skia_src_path)/../experimental/PdfViewer/autogen/pdfspec_autogen.py'], 47 'action': ['python', '../experimental/PdfViewer/spec2def.py', '../expe rimental/PdfViewer/PdfReference-okular-1.txt', '<(SHARED_INTERMEDIATE_DIR)/pdfsp ec_autogen.py'],
39 }, 48 },
40 { 49 {
41 'action_name': 'generate_code', 50 'action_name': 'generate_code',
42 'inputs': [ 51 'inputs': [
43 '../experimental/PdfViewer/generate_code.py', 52 '<(SHARED_INTERMEDIATE_DIR)/datatypes.py',
44 '../experimental/PdfViewer/autogen/pdfspec_autogen.py', 53 '<(SHARED_INTERMEDIATE_DIR)/generate_code.py',
54 '<(SHARED_INTERMEDIATE_DIR)/pdfspec_autogen.py',
45 ], 55 ],
46 'outputs': [ 56 'outputs': [
47 '<(skia_src_path)/../experimental/PdfViewer/pdfparser/autogen/SkPdfE nums_autogen.h', 57 '<(SHARED_INTERMEDIATE_DIR)/native/autogen/SkPdfEnums_autogen.h',
48 '<(skia_src_path)/../experimental/PdfViewer/pdfparser/native/autogen /SkPdfMapper_autogen.cpp', 58 '<(SHARED_INTERMEDIATE_DIR)/native/autogen/SkPdfMapper_autogen.cpp',
49 '<(skia_src_path)/../experimental/PdfViewer/pdfparser/native/autogen /SkPdfHeaders_autogen.cpp', 59 '<(SHARED_INTERMEDIATE_DIR)/native/autogen/SkPdfHeaders_autogen.cpp' ,
50 # TODO(edisonn): ok, there are many more files here, which we should list but since 60 # TODO(edisonn): ok, there are many more files here, which we should list but since
51 # any change in the above should trigger a change here, we should be fine normally 61 # any change in the above should trigger a change here, we should be fine normally
52 ], 62 ],
53 'action': ['python', '<(skia_src_path)/../experimental/PdfViewer/gener ate_code.py', '<(skia_src_path)/../experimental/PdfViewer/pdfparser/'], 63 'action': ['python', '<(SHARED_INTERMEDIATE_DIR)/generate_code.py', '< (SHARED_INTERMEDIATE_DIR)'],
54 }, 64 },
55 ], 65 ],
56 'include_dirs': [ 66 'include_dirs': [
57 '../experimental/PdfViewer', 67 '../experimental/PdfViewer',
58 '../experimental/PdfViewer/pdfparser', 68 '../experimental/PdfViewer/pdfparser',
59 '../experimental/PdfViewer/pdfparser/autogen',
60 '../experimental/PdfViewer/pdfparser/native', 69 '../experimental/PdfViewer/pdfparser/native',
61 '../experimental/PdfViewer/pdfparser/native/autogen', 70 '<(SHARED_INTERMEDIATE_DIR)/native/autogen',
62 ], 71 ],
63 'dependencies': [ 72 'dependencies': [
64 'core.gyp:core', 73 'core.gyp:core',
65 'images.gyp:images', 74 'images.gyp:images',
66 'zlib.gyp:zlib', 75 'zlib.gyp:zlib',
67 ], 76 ],
68 }, 77 },
69 { 78 {
70 'target_name': 'pdfviewer', 79 'target_name': 'pdfviewer',
71 'type': 'executable', 80 'type': 'executable',
(...skipping 18 matching lines...) Expand all
90 ], 99 ],
91 }, 100 },
92 ], 101 ],
93 } 102 }
94 103
95 # Local Variables: 104 # Local Variables:
96 # tab-width:2 105 # tab-width:2
97 # indent-tabs-mode:nil 106 # indent-tabs-mode:nil
98 # End: 107 # End:
99 # vim: set expandtab tabstop=2 shiftwidth=2: 108 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « experimental/PdfViewer/generate_code.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698