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

Side by Side Diff: gyp/pdf.gyp

Issue 2202203003: not much point to SK_SUPPORT_PDF (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | samplecode/SampleApp.cpp » ('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',
11 'dependencies': [ 'skia_lib.gyp:skia_lib', ], 11 'dependencies': [ 'skia_lib.gyp:skia_lib', ],
12 'sources': [ '<(skia_src_path)/pdf/SkDocument_PDF_None.cpp', ], 12 'sources': [ '<(skia_src_path)/pdf/SkDocument_PDF_None.cpp', ],
13 'defines': [ 'SK_SUPPORT_PDF=0', ],
14 }, 13 },
15 { 14 {
16 'target_name': 'pdf', 15 'target_name': 'pdf',
17 'product_name': 'skia_pdf', 16 'product_name': 'skia_pdf',
18 'type': 'static_library', 17 'type': 'static_library',
19 'standalone_static_library': 1, 18 'standalone_static_library': 1,
20 'variables': { 19 'variables': {
21 'skia_pdf_use_sfntly%': 1, 20 'skia_pdf_use_sfntly%': 1,
22 'skia_pdf_less_compression%': 0, # enable for debugging only 21 'skia_pdf_less_compression%': 0, # enable for debugging only
23 }, 22 },
(...skipping 28 matching lines...) Expand all
52 ], 51 ],
53 'libraries': [ 52 'libraries': [
54 'libsfntly.a', 53 'libsfntly.a',
55 '-licuuc', 54 '-licuuc',
56 '-licui18n', 55 '-licui18n',
57 ], 56 ],
58 } 57 }
59 ], 58 ],
60 ], 59 ],
61 'direct_dependent_settings': { 60 'direct_dependent_settings': {
62 'defines': [ 'SK_SUPPORT_PDF=1', ],
63 'include_dirs': [ 61 'include_dirs': [
64 '../include/core', # SkDocument.h 62 '../include/core', # SkDocument.h
65 ], 63 ],
66 }, 64 },
67 }, 65 },
68 ], 66 ],
69 } 67 }
OLDNEW
« no previous file with comments | « no previous file | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698