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', |
(...skipping 11 matching lines...) Expand all Loading... |
22 'skia_lib.gyp:skia_lib', | 22 'skia_lib.gyp:skia_lib', |
23 'zlib.gyp:zlib', | 23 'zlib.gyp:zlib', |
24 ], | 24 ], |
25 'includes': [ | 25 'includes': [ |
26 'pdf.gypi', | 26 'pdf.gypi', |
27 ], | 27 ], |
28 'include_dirs': [ | 28 'include_dirs': [ |
29 '../include/private', | 29 '../include/private', |
30 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h | 30 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
31 '../src/pdf', | 31 '../src/pdf', |
| 32 '../src/image', |
32 '../src/utils', # needed to get SkBitSet.h | 33 '../src/utils', # needed to get SkBitSet.h |
33 ], | 34 ], |
34 'sources': [ | 35 'sources': [ |
35 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). | 36 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). |
36 ], | 37 ], |
37 'conditions': [ | 38 'conditions': [ |
38 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ | 39 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ |
39 skia_os in ["win", "android", "linux", "chromeos", "mac"]', | 40 skia_os in ["win", "android", "linux", "chromeos", "mac"]', |
40 { 'dependencies': [ 'sfntly.gyp:sfntly' ] } | 41 { 'dependencies': [ 'sfntly.gyp:sfntly' ] } |
41 ], | 42 ], |
(...skipping 12 matching lines...) Expand all Loading... |
54 ], | 55 ], |
55 'direct_dependent_settings': { | 56 'direct_dependent_settings': { |
56 'defines': [ 'SK_SUPPORT_PDF=1', ], | 57 'defines': [ 'SK_SUPPORT_PDF=1', ], |
57 'include_dirs': [ | 58 'include_dirs': [ |
58 '../include/core', # SkDocument.h | 59 '../include/core', # SkDocument.h |
59 ], | 60 ], |
60 }, | 61 }, |
61 }, | 62 }, |
62 ], | 63 ], |
63 } | 64 } |
OLD | NEW |