scroggo@google.com | d4adfa3 | 2014-02-05 16:35:12 +0000 | [diff] [blame] | 1 | # This file builds the PDF backend. |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 2 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 3 | 'targets': [ |
| 4 | { |
| 5 | 'target_name': 'pdf', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 6 | 'product_name': 'skia_pdf', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 7 | 'type': 'static_library', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 8 | 'standalone_static_library': 1, |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 9 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 10 | 'skia_lib.gyp:skia_lib', |
commit-bot@chromium.org | f84722e | 2014-02-24 20:22:34 +0000 | [diff] [blame] | 11 | 'skflate.gyp:skflate', |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 12 | ], |
commit-bot@chromium.org | 7e5d186 | 2013-08-04 15:09:23 +0000 | [diff] [blame] | 13 | 'includes': [ |
| 14 | 'pdf.gypi', |
| 15 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 16 | 'include_dirs': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 17 | '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
commit-bot@chromium.org | 5e00989 | 2013-10-14 13:42:12 +0000 | [diff] [blame] | 18 | '../src/pdf', |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 19 | '../src/utils', # needed to get SkBitSet.h |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 20 | ], |
| 21 | 'sources': [ |
commit-bot@chromium.org | 7e5d186 | 2013-08-04 15:09:23 +0000 | [diff] [blame] | 22 | 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the build). |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 23 | ], |
scroggo@google.com | d4adfa3 | 2014-02-05 16:35:12 +0000 | [diff] [blame] | 24 | 'conditions': [ |
| 25 | [ 'skia_android_framework', { |
| 26 | # Add SFTNLY support for PDF (which in turns depends on ICU) |
| 27 | 'include_dirs': [ |
| 28 | 'external/sfntly/cpp/src', |
| 29 | ], |
| 30 | 'libraries': [ |
| 31 | 'libsfntly.a', |
| 32 | '-licuuc', |
| 33 | '-licui18n', |
| 34 | ], |
| 35 | } |
| 36 | ], |
| 37 | ], |
caryclark | ac8d8b8 | 2015-01-07 07:36:52 -0800 | [diff] [blame] | 38 | # This section makes all targets that depend on this target |
| 39 | # #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] | 40 | 'direct_dependent_settings': { |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 41 | 'defines': [ |
| 42 | 'SK_SUPPORT_PDF', |
| 43 | ], |
caryclark | ac8d8b8 | 2015-01-07 07:36:52 -0800 | [diff] [blame] | 44 | 'include_dirs': [ |
halcanary | 07327bf | 2015-02-19 07:26:12 -0800 | [diff] [blame] | 45 | '../include/core', # SkDocument.h |
caryclark | ac8d8b8 | 2015-01-07 07:36:52 -0800 | [diff] [blame] | 46 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 47 | }, |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 48 | }, |
| 49 | ], |
| 50 | } |