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', |
22 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h | 23 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
23 '../src/pdf', | 24 '../src/pdf', |
24 '../src/utils', # needed to get SkBitSet.h | 25 '../src/utils', # needed to get SkBitSet.h |
25 ], | 26 ], |
26 'sources': [ | 27 'sources': [ |
27 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). | 28 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). |
28 ], | 29 ], |
29 'conditions': [ | 30 'conditions': [ |
30 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ | 31 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ |
31 skia_os in ["win", "android", "linux", "chromeos", "mac"]', | 32 skia_os in ["win", "android", "linux", "chromeos", "mac"]', |
(...skipping 18 matching lines...) Expand all Loading... |
50 'defines': [ | 51 'defines': [ |
51 'SK_SUPPORT_PDF', | 52 'SK_SUPPORT_PDF', |
52 ], | 53 ], |
53 'include_dirs': [ | 54 'include_dirs': [ |
54 '../include/core', # SkDocument.h | 55 '../include/core', # SkDocument.h |
55 ], | 56 ], |
56 }, | 57 }, |
57 }, | 58 }, |
58 ], | 59 ], |
59 } | 60 } |
OLD | NEW |