| OLD | NEW |
| 1 { | 1 { |
| 2 'targets': [ | 2 'targets': [ |
| 3 { | 3 { |
| 4 'target_name': 'pdf', | 4 'target_name': 'pdf', |
| 5 'product_name': 'skia_pdf', | 5 'product_name': 'skia_pdf', |
| 6 'type': 'static_library', | 6 'type': 'static_library', |
| 7 'standalone_static_library': 1, | 7 'standalone_static_library': 1, |
| 8 'dependencies': [ | 8 'dependencies': [ |
| 9 'skia_lib.gyp:skia_lib', | 9 'skia_lib.gyp:skia_lib', |
| 10 'zlib.gyp:zlib', | 10 'zlib.gyp:zlib', |
| 11 ], | 11 ], |
| 12 'includes': [ |
| 13 'pdf.gypi', |
| 14 ], |
| 12 'include_dirs': [ | 15 'include_dirs': [ |
| 13 '../include/pdf', | 16 '../include/pdf', |
| 14 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h | 17 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
| 15 '../src/utils', # needed to get SkBitSet.h | 18 '../src/utils', # needed to get SkBitSet.h |
| 16 ], | 19 ], |
| 17 'sources': [ | 20 'sources': [ |
| 18 '../include/pdf/SkPDFDevice.h', | 21 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). |
| 19 '../include/pdf/SkPDFDocument.h', | |
| 20 | |
| 21 '../src/pdf/SkPDFCatalog.cpp', | |
| 22 '../src/pdf/SkPDFCatalog.h', | |
| 23 '../src/pdf/SkPDFDevice.cpp', | |
| 24 '../src/pdf/SkPDFDocument.cpp', | |
| 25 '../src/pdf/SkPDFFont.cpp', | |
| 26 '../src/pdf/SkPDFFont.h', | |
| 27 '../src/pdf/SkPDFFontImpl.h', | |
| 28 '../src/pdf/SkPDFFormXObject.cpp', | |
| 29 '../src/pdf/SkPDFFormXObject.h', | |
| 30 '../src/pdf/SkPDFGraphicState.cpp', | |
| 31 '../src/pdf/SkPDFGraphicState.h', | |
| 32 '../src/pdf/SkPDFImage.cpp', | |
| 33 '../src/pdf/SkPDFImage.h', | |
| 34 '../src/pdf/SkPDFImageStream.cpp', | |
| 35 '../src/pdf/SkPDFImageStream.h', | |
| 36 '../src/pdf/SkPDFPage.cpp', | |
| 37 '../src/pdf/SkPDFPage.h', | |
| 38 '../src/pdf/SkPDFResourceDict.cpp', | |
| 39 '../src/pdf/SkPDFResourceDict.h', | |
| 40 '../src/pdf/SkPDFShader.cpp', | |
| 41 '../src/pdf/SkPDFShader.h', | |
| 42 '../src/pdf/SkPDFStream.cpp', | |
| 43 '../src/pdf/SkPDFStream.h', | |
| 44 '../src/pdf/SkPDFTypes.cpp', | |
| 45 '../src/pdf/SkPDFTypes.h', | |
| 46 '../src/pdf/SkPDFUtils.cpp', | |
| 47 '../src/pdf/SkPDFUtils.h', | |
| 48 '../src/pdf/SkTSet.h', | |
| 49 | |
| 50 '../src/doc/SkDocument_PDF.cpp', | |
| 51 ], | 22 ], |
| 52 # This section makes all targets that depend on this target | 23 # This section makes all targets that depend on this target |
| 53 # #define SK_SUPPORT_PDF and have access to the pdf header files. | 24 # #define SK_SUPPORT_PDF and have access to the pdf header files. |
| 54 'direct_dependent_settings': { | 25 'direct_dependent_settings': { |
| 55 'defines': [ | 26 'defines': [ |
| 56 'SK_SUPPORT_PDF', | 27 'SK_SUPPORT_PDF', |
| 57 ], | 28 ], |
| 58 'include_dirs': [ | 29 'include_dirs': [ |
| 59 '../include/pdf', | 30 '../include/pdf', |
| 60 ], | 31 ], |
| 61 }, | 32 }, |
| 62 }, | 33 }, |
| 63 ], | 34 ], |
| 64 } | 35 } |
| 65 | 36 |
| 66 # Local Variables: | 37 # Local Variables: |
| 67 # tab-width:2 | 38 # tab-width:2 |
| 68 # indent-tabs-mode:nil | 39 # indent-tabs-mode:nil |
| 69 # End: | 40 # End: |
| 70 # vim: set expandtab tabstop=2 shiftwidth=2: | 41 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |