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', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 5 | 'product_name': 'skia_pdf', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 6 | 'type': 'static_library', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 7 | 'standalone_static_library': 1, |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 8 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 9 | 'skia_lib.gyp:skia_lib', |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 10 | 'zlib.gyp:zlib', |
| 11 | ], |
commit-bot@chromium.org | 7e5d186 | 2013-08-04 15:09:23 +0000 | [diff] [blame] | 12 | 'includes': [ |
| 13 | 'pdf.gypi', |
| 14 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 15 | 'include_dirs': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 16 | '../include/pdf', |
| 17 | '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 18 | '../src/utils', # needed to get SkBitSet.h |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 19 | ], |
| 20 | 'sources': [ |
commit-bot@chromium.org | 7e5d186 | 2013-08-04 15:09:23 +0000 | [diff] [blame] | 21 | 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the build). |
robertphillips@google.com | 62aa8d6 | 2013-08-26 13:47:20 +0000 | [diff] [blame] | 22 | |
| 23 | '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 24 | ], |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 25 | # This section makes all targets that depend on this target |
| 26 | # #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] | 27 | 'direct_dependent_settings': { |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 28 | 'defines': [ |
| 29 | 'SK_SUPPORT_PDF', |
| 30 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 31 | 'include_dirs': [ |
| 32 | '../include/pdf', |
| 33 | ], |
| 34 | }, |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 35 | }, |
| 36 | ], |
| 37 | } |
| 38 | |
| 39 | # Local Variables: |
| 40 | # tab-width:2 |
| 41 | # indent-tabs-mode:nil |
| 42 | # End: |
| 43 | # vim: set expandtab tabstop=2 shiftwidth=2: |