epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 1 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'pdf', |
| 5 | 'type': 'static_library', |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 6 | 'dependencies': [ |
| 7 | 'core.gyp:core', |
| 8 | 'ports.gyp:ports', |
| 9 | 'utils.gyp:utils', |
| 10 | 'zlib.gyp:zlib', |
| 11 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 12 | 'include_dirs': [ |
| 13 | '../include/config', |
| 14 | '../include/core', |
| 15 | '../include/pdf', |
| 16 | '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 17 | '../src/utils', # needed to get SkBitSet.h |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 18 | ], |
| 19 | 'sources': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 20 | '../include/pdf/SkPDFDevice.h', |
| 21 | '../include/pdf/SkPDFDocument.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 22 | |
| 23 | '../src/pdf/SkPDFCatalog.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 24 | '../src/pdf/SkPDFCatalog.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 25 | '../src/pdf/SkPDFDevice.cpp', |
| 26 | '../src/pdf/SkPDFDocument.cpp', |
| 27 | '../src/pdf/SkPDFFont.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 28 | '../src/pdf/SkPDFFont.h', |
vandebo@chromium.org | 9859428 | 2011-07-25 22:34:12 +0000 | [diff] [blame] | 29 | '../src/pdf/SkPDFFontImpl.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 30 | '../src/pdf/SkPDFFormXObject.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 31 | '../src/pdf/SkPDFFormXObject.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 32 | '../src/pdf/SkPDFGraphicState.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 33 | '../src/pdf/SkPDFGraphicState.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 34 | '../src/pdf/SkPDFImage.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 35 | '../src/pdf/SkPDFImage.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 36 | '../src/pdf/SkPDFPage.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 37 | '../src/pdf/SkPDFPage.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 38 | '../src/pdf/SkPDFShader.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 39 | '../src/pdf/SkPDFShader.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 40 | '../src/pdf/SkPDFStream.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 41 | '../src/pdf/SkPDFStream.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 42 | '../src/pdf/SkPDFTypes.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 43 | '../src/pdf/SkPDFTypes.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 44 | '../src/pdf/SkPDFUtils.cpp', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 45 | '../src/pdf/SkPDFUtils.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 46 | ], |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 47 | # This section makes all targets that depend on this target |
| 48 | # #define SK_SUPPORT_PDF and have access to the pdf header files. |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 49 | 'direct_dependent_settings': { |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 50 | 'defines': [ |
| 51 | 'SK_SUPPORT_PDF', |
| 52 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 53 | 'include_dirs': [ |
| 54 | '../include/pdf', |
| 55 | ], |
| 56 | }, |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 57 | }, |
| 58 | ], |
| 59 | } |
| 60 | |
| 61 | # Local Variables: |
| 62 | # tab-width:2 |
| 63 | # indent-tabs-mode:nil |
| 64 | # End: |
| 65 | # vim: set expandtab tabstop=2 shiftwidth=2: |