Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: gyp/pdf.gyp

Issue 1916093002: SkDocument/PDF: new API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-04-26 (Tuesday) 15:55:33 EDT Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/common_variables.gypi ('k') | include/core/SkDocument.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 24 matching lines...) Expand all
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", "chromeos", "mac"]',
43 { 'dependencies': [ 'sfntly.gyp:sfntly' ] } 43 { 'dependencies': [ 'sfntly.gyp:sfntly' ] }
44 ], 44 ],
45 [ 'skia_pdf_generate_pdfa', { 'defines': ['SK_PDF_GENERATE_PDFA'] } ],
46 [ 'skia_pdf_less_compression', 45 [ 'skia_pdf_less_compression',
47 {'defines': ['SK_PDF_LESS_COMPRESSION'] } 46 {'defines': ['SK_PDF_LESS_COMPRESSION'] }
48 ], 47 ],
49 [ 'skia_android_framework', { 48 [ 'skia_android_framework', {
50 # Add SFTNLY support for PDF (which in turns depends on ICU) 49 # Add SFTNLY support for PDF (which in turns depends on ICU)
51 'include_dirs': [ 50 'include_dirs': [
52 'external/sfntly/cpp/src', 51 'external/sfntly/cpp/src',
53 ], 52 ],
54 'libraries': [ 53 'libraries': [
55 'libsfntly.a', 54 'libsfntly.a',
56 '-licuuc', 55 '-licuuc',
57 '-licui18n', 56 '-licui18n',
58 ], 57 ],
59 } 58 }
60 ], 59 ],
61 ], 60 ],
62 'direct_dependent_settings': { 61 'direct_dependent_settings': {
63 'defines': [ 'SK_SUPPORT_PDF=1', ], 62 'defines': [ 'SK_SUPPORT_PDF=1', ],
64 'include_dirs': [ 63 'include_dirs': [
65 '../include/core', # SkDocument.h 64 '../include/core', # SkDocument.h
66 ], 65 ],
67 }, 66 },
68 }, 67 },
69 ], 68 ],
70 } 69 }
OLDNEW
« no previous file with comments | « gyp/common_variables.gypi ('k') | include/core/SkDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698