| 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': 'pdf', | 9 'target_name': 'pdf', |
| 10 'product_name': 'skia_pdf', | 10 'product_name': 'skia_pdf', |
| 11 'type': 'static_library', | 11 'type': 'static_library', |
| 12 'standalone_static_library': 1, | 12 'standalone_static_library': 1, |
| 13 'variables': { 'skia_pdf_use_sfntly%': 1, }, | 13 'variables': { 'skia_pdf_use_sfntly%': 1, }, |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 'skia_lib.gyp:skia_lib', | 15 'skia_lib.gyp:skia_lib', |
| 16 'skflate.gyp:skflate', | 16 'skflate.gyp:skflate', |
| 17 ], | 17 ], |
| 18 'includes': [ | 18 'includes': [ |
| 19 'pdf.gypi', | 19 'pdf.gypi', |
| 20 ], | 20 ], |
| 21 'include_dirs': [ | 21 'include_dirs': [ |
| 22 '../include/private', | |
| 23 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h | 22 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
| 24 '../src/pdf', | 23 '../src/pdf', |
| 25 '../src/utils', # needed to get SkBitSet.h | 24 '../src/utils', # needed to get SkBitSet.h |
| 26 ], | 25 ], |
| 27 'sources': [ | 26 'sources': [ |
| 28 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). | 27 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). |
| 29 ], | 28 ], |
| 30 'conditions': [ | 29 'conditions': [ |
| 31 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ | 30 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ |
| 32 skia_os in ["win", "android", "linux", "chromeos", "mac"]', | 31 skia_os in ["win", "android", "linux", "chromeos", "mac"]', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 51 'defines': [ | 50 'defines': [ |
| 52 'SK_SUPPORT_PDF', | 51 'SK_SUPPORT_PDF', |
| 53 ], | 52 ], |
| 54 'include_dirs': [ | 53 'include_dirs': [ |
| 55 '../include/core', # SkDocument.h | 54 '../include/core', # SkDocument.h |
| 56 ], | 55 ], |
| 57 }, | 56 }, |
| 58 }, | 57 }, |
| 59 ], | 58 ], |
| 60 } | 59 } |
| OLD | NEW |