| OLD | NEW | 
|   1 # Copyright 2015 Google Inc. |   1 # Copyright 2015 Google Inc. | 
|   2 # |   2 # | 
|   3 # Use of this source code is governed by a BSD-style license that can be |   3 # Use of this source code is governed by a BSD-style license that can be | 
|   4 # found in the LICENSE file. |   4 # found in the LICENSE file. | 
|   5 # This file builds the PDF backend. |   5 # This file builds the PDF backend. | 
|   6 { |   6 { | 
|   7   'targets': [ |   7   'targets': [ | 
|   8     { |   8     { | 
|   9       'target_name': 'nopdf', |   9       'target_name': 'nopdf', | 
|  10       'type': 'static_library', |  10       'type': 'static_library', | 
|  11       'dependencies': [ 'skia_lib.gyp:skia_lib', ], |  11       'dependencies': [ 'skia_lib.gyp:skia_lib', ], | 
|  12       'sources': [ '<(skia_src_path)/pdf/SkDocument_PDF_None.cpp', ], |  12       'sources': [ '<(skia_src_path)/pdf/SkDocument_PDF_None.cpp', ], | 
|  13       'defines': [ 'SK_SUPPORT_PDF=0', ], |  13       'defines': [ 'SK_SUPPORT_PDF=0', ], | 
|  14     }, |  14     }, | 
|  15     { |  15     { | 
|  16       'target_name': 'pdf', |  16       'target_name': 'pdf', | 
|  17       'product_name': 'skia_pdf', |  17       'product_name': 'skia_pdf', | 
|  18       'type': 'static_library', |  18       'type': 'static_library', | 
|  19       'standalone_static_library': 1, |  19       'standalone_static_library': 1, | 
|  20       'variables': { |  20       'variables': { | 
|  21         'skia_pdf_use_sfntly%': 1, |  21         'skia_pdf_use_sfntly%': 1, | 
|  22         'skia_pdf_less_compression%': 0,  # enable for debugging only |  22         'skia_pdf_less_compression%': 0,  # enable for debugging only | 
|  23       }, |  23       }, | 
|  24       'dependencies': [ |  24       'dependencies': [ | 
|  25         'utils.gyp:utils', |  | 
|  26         'skia_lib.gyp:skia_lib', |  25         'skia_lib.gyp:skia_lib', | 
|  27         'zlib.gyp:zlib', |  26         'zlib.gyp:zlib', | 
|  28       ], |  27       ], | 
|  29       'includes': [ |  28       'includes': [ | 
|  30         'pdf.gypi', |  29         'pdf.gypi', | 
|  31       ], |  30       ], | 
|  32       'sources!': [ |  | 
|  33         '<(skia_src_path)/utils/SkMD5.cpp', |  | 
|  34         '<(skia_src_path)/utils/SkMD5.h', |  | 
|  35       ], |  | 
|  36       'include_dirs': [ |  31       'include_dirs': [ | 
|  37         '../include/private', |  32         '../include/private', | 
|  38         '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |  33         '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h | 
|  39         '../src/image', |  34         '../src/image', | 
|  40         '../src/utils', # needed to get SkBitSet.h |  35         '../src/utils', # needed to get SkBitSet.h | 
|  41       ], |  36       ], | 
|  42       'sources': [ |  37       'sources': [ | 
|  43         'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
    ld). |  38         'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
    ld). | 
|  44       ], |  39       ], | 
|  45       'conditions': [ |  40       'conditions': [ | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
|  66       ], |  61       ], | 
|  67       'direct_dependent_settings': { |  62       'direct_dependent_settings': { | 
|  68         'defines': [ 'SK_SUPPORT_PDF=1', ], |  63         'defines': [ 'SK_SUPPORT_PDF=1', ], | 
|  69         'include_dirs': [ |  64         'include_dirs': [ | 
|  70           '../include/core',  # SkDocument.h |  65           '../include/core',  # SkDocument.h | 
|  71         ], |  66         ], | 
|  72       }, |  67       }, | 
|  73     }, |  68     }, | 
|  74   ], |  69   ], | 
|  75 } |  70 } | 
| OLD | NEW |