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 21 matching lines...) Expand all Loading... |
32 '../include/private', | 32 '../include/private', |
33 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h | 33 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
34 '../src/image', | 34 '../src/image', |
35 '../src/utils', # needed to get SkBitSet.h | 35 '../src/utils', # needed to get SkBitSet.h |
36 ], | 36 ], |
37 'sources': [ | 37 'sources': [ |
38 '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). |
39 ], | 39 ], |
40 'conditions': [ | 40 'conditions': [ |
41 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ | 41 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ |
42 skia_os in ["win", "android", "linux", "chromeos", "mac"]', | 42 skia_os in ["win", "android", "linux", "mac"]', |
43 { 'dependencies': [ 'sfntly.gyp:sfntly' ] } | 43 { 'dependencies': [ 'sfntly.gyp:sfntly' ] } |
44 ], | 44 ], |
45 [ 'skia_pdf_less_compression', | 45 [ 'skia_pdf_less_compression', |
46 {'defines': ['SK_PDF_LESS_COMPRESSION'] } | 46 {'defines': ['SK_PDF_LESS_COMPRESSION'] } |
47 ], | 47 ], |
48 [ 'skia_android_framework', { | 48 [ 'skia_android_framework', { |
49 # Add SFTNLY support for PDF (which in turns depends on ICU) | 49 # Add SFTNLY support for PDF (which in turns depends on ICU) |
50 'include_dirs': [ | 50 'include_dirs': [ |
51 'external/sfntly/cpp/src', | 51 'external/sfntly/cpp/src', |
52 ], | 52 ], |
53 'libraries': [ | 53 'libraries': [ |
54 'libsfntly.a', | 54 'libsfntly.a', |
55 '-licuuc', | 55 '-licuuc', |
56 '-licui18n', | 56 '-licui18n', |
57 ], | 57 ], |
58 } | 58 } |
59 ], | 59 ], |
60 ], | 60 ], |
61 'direct_dependent_settings': { | 61 'direct_dependent_settings': { |
62 'defines': [ 'SK_SUPPORT_PDF=1', ], | 62 'defines': [ 'SK_SUPPORT_PDF=1', ], |
63 'include_dirs': [ | 63 'include_dirs': [ |
64 '../include/core', # SkDocument.h | 64 '../include/core', # SkDocument.h |
65 ], | 65 ], |
66 }, | 66 }, |
67 }, | 67 }, |
68 ], | 68 ], |
69 } | 69 } |
OLD | NEW |