1{ 2 'targets': [ 3 { 4 'target_name': 'pdf', 5 'product_name': 'skia_pdf', 6 'type': 'static_library', 7 'standalone_static_library': 1, 8 'dependencies': [ 9 'skia_lib.gyp:skia_lib', 10 'zlib.gyp:zlib', 11 ], 12 'includes': [ 13 'pdf.gypi', 14 ], 15 'include_dirs': [ 16 '../include/pdf', 17 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h 18 '../src/pdf', 19 '../src/utils', # needed to get SkBitSet.h 20 ], 21 'sources': [ 22 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the build). 23 24 '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file 25 ], 26 # This section makes all targets that depend on this target 27 # #define SK_SUPPORT_PDF and have access to the pdf header files. 28 'direct_dependent_settings': { 29 'defines': [ 30 'SK_SUPPORT_PDF', 31 ], 32 'include_dirs': [ 33 '../include/pdf', 34 ], 35 }, 36 }, 37 ], 38} 39