| 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 # TODO(edisonn): Hack! on mack, SHARED_INTERMEDIATE_DIR can't be reliable used
in a sources context | 10 # TODO(edisonn): Hack! on mack, SHARED_INTERMEDIATE_DIR can't be reliable used
in a sources context |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 'inputs': [ | 46 'inputs': [ |
| 47 '../experimental/PdfViewer/spec2def.py', | 47 '../experimental/PdfViewer/spec2def.py', |
| 48 '../experimental/PdfViewer/PdfReference-okular-1.txt', | 48 '../experimental/PdfViewer/PdfReference-okular-1.txt', |
| 49 ], | 49 ], |
| 50 'outputs': [ | 50 'outputs': [ |
| 51 '<(GENERATE_DIR)/pdfspec_autogen.py', | 51 '<(GENERATE_DIR)/pdfspec_autogen.py', |
| 52 ], | 52 ], |
| 53 'action': ['python', '../experimental/PdfViewer/spec2def.py', '../expe
rimental/PdfViewer/PdfReference-okular-1.txt', '<(GENERATE_DIR)/pdfspec_autogen.
py'], | 53 'action': ['python', '../experimental/PdfViewer/spec2def.py', '../expe
rimental/PdfViewer/PdfReference-okular-1.txt', '<(GENERATE_DIR)/pdfspec_autogen.
py'], |
| 54 }, | 54 }, |
| 55 { | 55 { |
| 56 'action_name': 'copy_files', | 56 'action_name': 'copy_files1', |
| 57 'variables': { | 57 'inputs' : ['../experimental/PdfViewer/datatypes.py'], |
| 58 'sources' : [ | |
| 59 '../experimental/PdfViewer/datatypes.py', | |
| 60 '../experimental/PdfViewer/generate_code.py', | |
| 61 ] | |
| 62 }, | |
| 63 'inputs' : ['<(sources)'], | |
| 64 'outputs': [ | 58 'outputs': [ |
| 65 '<(GENERATE_DIR)/datatypes.py', | 59 '<(GENERATE_DIR)/datatypes.py', |
| 60 ], |
| 61 'action': ['python', '../experimental/PdfViewer/copy_files.py', '<(GEN
ERATE_DIR)', '../experimental/PdfViewer/datatypes.py'], |
| 62 }, |
| 63 { |
| 64 'action_name': 'copy_files2', |
| 65 |
| 66 'inputs' : ['../experimental/PdfViewer/generate_code.py'], |
| 67 'outputs': [ |
| 66 '<(GENERATE_DIR)/generate_code.py', | 68 '<(GENERATE_DIR)/generate_code.py', |
| 67 ], | 69 ], |
| 68 'action': ['python', '../experimental/PdfViewer/copy_files.py', '<(GEN
ERATE_DIR)', '<@(sources)'], | 70 'action': ['python', '../experimental/PdfViewer/copy_files.py', '<(GEN
ERATE_DIR)', '../experimental/PdfViewer/generate_code.py'], |
| 69 }, | 71 }, |
| 70 { | 72 { |
| 71 'action_name': 'generate_code', | 73 'action_name': 'generate_code', |
| 72 'inputs': [ | 74 'inputs': [ |
| 73 '<(GENERATE_DIR)/datatypes.py', | 75 '<(GENERATE_DIR)/datatypes.py', |
| 74 '<(GENERATE_DIR)/generate_code.py', | 76 '<(GENERATE_DIR)/generate_code.py', |
| 75 '<(GENERATE_DIR)/pdfspec_autogen.py', | 77 '<(GENERATE_DIR)/pdfspec_autogen.py', |
| 76 ], | 78 ], |
| 77 'outputs': [ | 79 'outputs': [ |
| 78 '<(GENERATE_DIR)/native/autogen/SkPdfEnums_autogen.h', | 80 '<(GENERATE_DIR)/native/autogen/SkPdfEnums_autogen.h', |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 ], | 139 ], |
| 138 }, | 140 }, |
| 139 ], | 141 ], |
| 140 } | 142 } |
| 141 | 143 |
| 142 # Local Variables: | 144 # Local Variables: |
| 143 # tab-width:2 | 145 # tab-width:2 |
| 144 # indent-tabs-mode:nil | 146 # indent-tabs-mode:nil |
| 145 # End: | 147 # End: |
| 146 # vim: set expandtab tabstop=2 shiftwidth=2: | 148 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |