Index: gyp/pdfviewer.gyp |
=================================================================== |
--- gyp/pdfviewer.gyp (revision 9879) |
+++ gyp/pdfviewer.gyp (working copy) |
@@ -24,55 +24,47 @@ |
'../experimental/PdfViewer/SkPdfParser.cpp', |
'../experimental/PdfViewer/SkPdfUtils.cpp', |
#'../experimental/PdfViewer/SkPdfNYI.cpp', |
- #podofo |
- '../experimental/PdfViewer/pdfparser/podofo/SkPdfPodofoTokenizer.cpp', |
- '../experimental/PdfViewer/pdfparser/podofo/SkPodofoParsedPDF.cpp', |
- '../experimental/PdfViewer/pdfparser/podofo/SkPodofoUtils.cpp', |
- '../experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfMapper_autogen.cpp', |
- '../experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfHeaders_autogen.cpp', |
- #native TODO |
- |
- # libraries.cc is generated by the js2c action below. |
- #'<(INTERMEDIATE_DIR)/libraries.cc', |
+ '../experimental/PdfViewer/pdfparser/native/SkPdfObject.cpp', |
+ '../experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp', |
+ '../experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.cpp', |
+ '../experimental/PdfViewer/pdfparser/native/autogen/SkPdfMapper_autogen.cpp', |
+ '../experimental/PdfViewer/pdfparser/native/autogen/SkPdfHeaders_autogen.cpp', |
], |
- 'actions': [ |
- { |
- 'action_name': 'spec2def', |
- 'inputs': [ |
- '../experimental/PdfViewer/spec2def.py', |
- '../experimental/PdfViewer/PdfReference-okular-1.txt', |
- ], |
- 'outputs': [ |
- '../experimental/PdfViewer/autogen/pdfspec_autogen.py', |
- ], |
- 'action': ['python', '../experimental/PdfViewer/spec2def.py', '../experimental/PdfViewer/PdfReference-okular-1.txt', '../experimental/PdfViewer/autogen/pdfspec_autogen.py'], |
- }, |
- { |
- 'action_name': 'generate_code', |
- 'inputs': [ |
- '../experimental/PdfViewer/generate_code.py', |
- '../experimental/PdfViewer/autogen/pdfspec_autogen.py', |
- ], |
- 'outputs': [ |
- '../experimental/PdfViewer/pdfparser/autogen/SkPdfEnums_autogen.h', |
- '../experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfMapper_autogen.cpp', |
- '../experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfHeaders_autogen.cpp', |
- # TODO(edisonn): ok, there are many more files here, which we should list but since |
- # any change in the above should trigger a change here, we should be fine normally |
- ], |
- 'action': ['python', '../experimental/PdfViewer/generate_code.py', '../experimental/PdfViewer/pdfparser/'], |
- }, |
- ], |
+# 'actions': [ |
+# { |
+# 'action_name': 'spec2def', |
+# 'inputs': [ |
+# '../experimental/PdfViewer/spec2def.py', |
+# '../experimental/PdfViewer/PdfReference-okular-1.txt', |
+# ], |
+# 'outputs': [ |
+# '../experimental/PdfViewer/autogen/pdfspec_autogen.py', |
+# ], |
+# 'action': ['python', '../experimental/PdfViewer/spec2def.py', '../experimental/PdfViewer/PdfReference-okular-1.txt', '../experimental/PdfViewer/autogen/pdfspec_autogen.py'], |
+# }, |
+# { |
+# 'action_name': 'generate_code', |
+# 'inputs': [ |
+# '../experimental/PdfViewer/generate_code.py', |
+# '../experimental/PdfViewer/autogen/pdfspec_autogen.py', |
+# ], |
+# 'outputs': [ |
+# '../experimental/PdfViewer/pdfparser/autogen/SkPdfEnums_autogen.h', |
+# '../experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfMapper_autogen.cpp', |
+# '../experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfHeaders_autogen.cpp', |
+# # TODO(edisonn): ok, there are many more files here, which we should list but since |
+# # any change in the above should trigger a change here, we should be fine normally |
+# ], |
+# 'action': ['python', '../experimental/PdfViewer/generate_code.py', '../experimental/PdfViewer/pdfparser/'], |
+# }, |
+# ], |
'include_dirs': [ |
- '../third_party/externals/podofo/src/base', |
- '../third_party/externals/podofo/src', |
- '../third_party/externals/podofo', |
'../tools', |
'../experimental/PdfViewer', |
'../experimental/PdfViewer/pdfparser', |
'../experimental/PdfViewer/pdfparser/autogen', |
- '../experimental/PdfViewer/pdfparser/podofo', |
- '../experimental/PdfViewer/pdfparser/podofo/autogen', |
+ '../experimental/PdfViewer/pdfparser/native', |
+ '../experimental/PdfViewer/pdfparser/native/autogen', |
], |
'dependencies': [ |
'core.gyp:core', |
@@ -81,7 +73,6 @@ |
'pdf.gyp:pdf', |
'ports.gyp:ports', |
'tools.gyp:picture_utils', |
- '../third_party/externals/podofo/podofo.gyp:podofo', |
], |
'link_settings': { |
'libraries': [ |
@@ -106,8 +97,8 @@ |
'../experimental/PdfViewer', |
'../experimental/PdfViewer/pdfparser', |
'../experimental/PdfViewer/pdfparser/autogen', |
- '../experimental/PdfViewer/pdfparser/podofo', |
- '../experimental/PdfViewer/pdfparser/podofo/autogen', |
+ '../experimental/PdfViewer/pdfparser/native', |
+ '../experimental/PdfViewer/pdfparser/native/autogen', |
], |
'dependencies': [ |
'core.gyp:core', |