| OLD | NEW |
| 1 # This file builds the PDF backend. | 1 # This file builds the PDF backend. |
| 2 { | 2 { |
| 3 'targets': [ | 3 'targets': [ |
| 4 { | 4 { |
| 5 'target_name': 'pdf', | 5 'target_name': 'pdf', |
| 6 'product_name': 'skia_pdf', | 6 'product_name': 'skia_pdf', |
| 7 'type': 'static_library', | 7 'type': 'static_library', |
| 8 'standalone_static_library': 1, | 8 'standalone_static_library': 1, |
| 9 'dependencies': [ | 9 'dependencies': [ |
| 10 'skia_lib.gyp:skia_lib', | 10 'skia_lib.gyp:skia_lib', |
| 11 'skflate.gyp:skflate', | 11 'skflate.gyp:skflate', |
| 12 ], | 12 ], |
| 13 'includes': [ | 13 'includes': [ |
| 14 'pdf.gypi', | 14 'pdf.gypi', |
| 15 ], | 15 ], |
| 16 'include_dirs': [ | 16 'include_dirs': [ |
| 17 '../include/pdf', | 17 '../include/pdf', |
| 18 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h | 18 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
| 19 '../src/pdf', | 19 '../src/pdf', |
| 20 '../src/utils', # needed to get SkBitSet.h | 20 '../src/utils', # needed to get SkBitSet.h |
| 21 '../src/images', # needed to get SkStreamHelpers.h | |
| 22 ], | 21 ], |
| 23 'sources': [ | 22 'sources': [ |
| 24 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). | 23 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). |
| 25 | 24 |
| 26 '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file | 25 '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file |
| 27 ], | 26 ], |
| 28 'conditions': [ | 27 'conditions': [ |
| 29 [ 'skia_android_framework', { | 28 [ 'skia_android_framework', { |
| 30 # Add SFTNLY support for PDF (which in turns depends on ICU) | 29 # Add SFTNLY support for PDF (which in turns depends on ICU) |
| 31 'include_dirs': [ | 30 'include_dirs': [ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 45 'defines': [ | 44 'defines': [ |
| 46 'SK_SUPPORT_PDF', | 45 'SK_SUPPORT_PDF', |
| 47 ], | 46 ], |
| 48 'include_dirs': [ | 47 'include_dirs': [ |
| 49 '../include/pdf', | 48 '../include/pdf', |
| 50 ], | 49 ], |
| 51 }, | 50 }, |
| 52 }, | 51 }, |
| 53 ], | 52 ], |
| 54 } | 53 } |
| OLD | NEW |