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

Side by Side Diff: gyp/pdf.gyp

Issue 1128353004: Revert of SkPDF: Add Sfntly to DEPS, gyp, SkUserConfig (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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/icu.gyp ('k') | gyp/sfntly.gyp » ('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': '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, },
14 'dependencies': [ 13 'dependencies': [
15 'skia_lib.gyp:skia_lib', 14 'skia_lib.gyp:skia_lib',
16 'skflate.gyp:skflate', 15 'skflate.gyp:skflate',
17 ], 16 ],
18 'includes': [ 17 'includes': [
19 'pdf.gypi', 18 'pdf.gypi',
20 ], 19 ],
21 'include_dirs': [ 20 'include_dirs': [
22 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h 21 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
23 '../src/pdf', 22 '../src/pdf',
24 '../src/utils', # needed to get SkBitSet.h 23 '../src/utils', # needed to get SkBitSet.h
25 ], 24 ],
26 'sources': [ 25 'sources': [
27 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui ld). 26 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui ld).
28 ], 27 ],
29 'conditions': [ 28 'conditions': [
30 [ 'skia_pdf_use_sfntly and not skia_android_framework',
31 { 'dependencies': [ 'sfntly.gyp:sfntly' ] }
32 ],
33 [ 'skia_android_framework', { 29 [ 'skia_android_framework', {
34 # Add SFTNLY support for PDF (which in turns depends on ICU) 30 # Add SFTNLY support for PDF (which in turns depends on ICU)
35 'include_dirs': [ 31 'include_dirs': [
36 'external/sfntly/cpp/src', 32 'external/sfntly/cpp/src',
37 ], 33 ],
38 'libraries': [ 34 'libraries': [
39 'libsfntly.a', 35 'libsfntly.a',
40 '-licuuc', 36 '-licuuc',
41 '-licui18n', 37 '-licui18n',
42 ], 38 ],
43 } 39 }
44 ], 40 ],
45 ], 41 ],
46 # This section makes all targets that depend on this target 42 # This section makes all targets that depend on this target
47 # #define SK_SUPPORT_PDF and have access to the pdf header files. 43 # #define SK_SUPPORT_PDF and have access to the pdf header files.
48 'direct_dependent_settings': { 44 'direct_dependent_settings': {
49 'defines': [ 45 'defines': [
50 'SK_SUPPORT_PDF', 46 'SK_SUPPORT_PDF',
51 ], 47 ],
52 'include_dirs': [ 48 'include_dirs': [
53 '../include/core', # SkDocument.h 49 '../include/core', # SkDocument.h
54 ], 50 ],
55 }, 51 },
56 }, 52 },
57 ], 53 ],
58 } 54 }
OLDNEW
« no previous file with comments | « gyp/icu.gyp ('k') | gyp/sfntly.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698