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_base_libs.gyp:skia_base_libs', 10 'zlib.gyp:zlib', 11 ], 12 'include_dirs': [ 13 '../include/config', 14 '../include/core', 15 '../include/pdf', 16 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h 17 '../src/utils', # needed to get SkBitSet.h 18 ], 19 'sources': [ 20 '../include/pdf/SkPDFDevice.h', 21 '../include/pdf/SkPDFDocument.h', 22 23 '../src/pdf/SkPDFCatalog.cpp', 24 '../src/pdf/SkPDFCatalog.h', 25 '../src/pdf/SkPDFDevice.cpp', 26 '../src/pdf/SkPDFDocument.cpp', 27 '../src/pdf/SkPDFFont.cpp', 28 '../src/pdf/SkPDFFont.h', 29 '../src/pdf/SkPDFFontImpl.h', 30 '../src/pdf/SkPDFFormXObject.cpp', 31 '../src/pdf/SkPDFFormXObject.h', 32 '../src/pdf/SkPDFGraphicState.cpp', 33 '../src/pdf/SkPDFGraphicState.h', 34 '../src/pdf/SkPDFImage.cpp', 35 '../src/pdf/SkPDFImage.h', 36 '../src/pdf/SkPDFPage.cpp', 37 '../src/pdf/SkPDFPage.h', 38 '../src/pdf/SkPDFShader.cpp', 39 '../src/pdf/SkPDFShader.h', 40 '../src/pdf/SkPDFStream.cpp', 41 '../src/pdf/SkPDFStream.h', 42 '../src/pdf/SkPDFTypes.cpp', 43 '../src/pdf/SkPDFTypes.h', 44 '../src/pdf/SkPDFUtils.cpp', 45 '../src/pdf/SkPDFUtils.h', 46 ], 47 # This section makes all targets that depend on this target 48 # #define SK_SUPPORT_PDF and have access to the pdf header files. 49 'direct_dependent_settings': { 50 'defines': [ 51 'SK_SUPPORT_PDF', 52 ], 53 'include_dirs': [ 54 '../include/pdf', 55 ], 56 }, 57 }, 58 ], 59 } 60 61 # Local Variables: 62 # tab-width:2 63 # indent-tabs-mode:nil 64 # End: 65 # vim: set expandtab tabstop=2 shiftwidth=2: 66