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': [ | 12 'includes': [ |
13 'pdf.gypi', | 13 'pdf.gypi', |
14 ], | 14 ], |
15 'include_dirs': [ | 15 'include_dirs': [ |
16 '../include/pdf', | 16 '../include/pdf', |
17 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h | 17 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
| 18 '../src/pdf', |
18 '../src/utils', # needed to get SkBitSet.h | 19 '../src/utils', # needed to get SkBitSet.h |
19 ], | 20 ], |
20 'sources': [ | 21 'sources': [ |
21 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). | 22 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). |
22 | 23 |
23 '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file | 24 '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file |
24 ], | 25 ], |
25 # This section makes all targets that depend on this target | 26 # This section makes all targets that depend on this target |
26 # #define SK_SUPPORT_PDF and have access to the pdf header files. | 27 # #define SK_SUPPORT_PDF and have access to the pdf header files. |
27 'direct_dependent_settings': { | 28 'direct_dependent_settings': { |
28 'defines': [ | 29 'defines': [ |
29 'SK_SUPPORT_PDF', | 30 'SK_SUPPORT_PDF', |
30 ], | 31 ], |
31 'include_dirs': [ | 32 'include_dirs': [ |
32 '../include/pdf', | 33 '../include/pdf', |
33 ], | 34 ], |
34 }, | 35 }, |
35 }, | 36 }, |
36 ], | 37 ], |
37 } | 38 } |
38 | 39 |
39 # Local Variables: | 40 # Local Variables: |
40 # tab-width:2 | 41 # tab-width:2 |
41 # indent-tabs-mode:nil | 42 # indent-tabs-mode:nil |
42 # End: | 43 # End: |
43 # vim: set expandtab tabstop=2 shiftwidth=2: | 44 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |