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

Side by Side Diff: gyp/pdf.gyp

Issue 1781773002: SkPDF: move all pdf sources into src/pdf (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-03-10 (Thursday) 15:59:02 EST Created 4 years, 9 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/core.gypi ('k') | gyp/pdf.gypi » ('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)/doc/SkDocument_PDF_None.cpp', ], 12 'sources': [ '<(skia_src_path)/pdf/SkDocument_PDF_None.cpp', ],
13 'defines': [ 'SK_SUPPORT_PDF=0', ], 13 'defines': [ 'SK_SUPPORT_PDF=0', ],
14 }, 14 },
15 { 15 {
16 'target_name': 'pdf', 16 'target_name': 'pdf',
17 'product_name': 'skia_pdf', 17 'product_name': 'skia_pdf',
18 'type': 'static_library', 18 'type': 'static_library',
19 'standalone_static_library': 1, 19 'standalone_static_library': 1,
20 'variables': { 'skia_pdf_use_sfntly%': 1, }, 20 'variables': { 'skia_pdf_use_sfntly%': 1, },
21 'dependencies': [ 21 'dependencies': [
22 'skia_lib.gyp:skia_lib', 22 'skia_lib.gyp:skia_lib',
23 'zlib.gyp:zlib', 23 'zlib.gyp:zlib',
24 ], 24 ],
25 'includes': [ 25 'includes': [
26 'pdf.gypi', 26 'pdf.gypi',
27 ], 27 ],
28 'include_dirs': [ 28 'include_dirs': [
29 '../include/private', 29 '../include/private',
30 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h 30 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
31 '../src/pdf',
32 '../src/image', 31 '../src/image',
33 '../src/utils', # needed to get SkBitSet.h 32 '../src/utils', # needed to get SkBitSet.h
34 ], 33 ],
35 'sources': [ 34 'sources': [
36 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui ld). 35 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui ld).
37 ], 36 ],
38 'conditions': [ 37 'conditions': [
39 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ 38 [ 'skia_pdf_use_sfntly and not skia_android_framework and \
40 skia_os in ["win", "android", "linux", "chromeos", "mac"]', 39 skia_os in ["win", "android", "linux", "chromeos", "mac"]',
41 { 'dependencies': [ 'sfntly.gyp:sfntly' ] } 40 { 'dependencies': [ 'sfntly.gyp:sfntly' ] }
(...skipping 14 matching lines...) Expand all
56 ], 55 ],
57 'direct_dependent_settings': { 56 'direct_dependent_settings': {
58 'defines': [ 'SK_SUPPORT_PDF=1', ], 57 'defines': [ 'SK_SUPPORT_PDF=1', ],
59 'include_dirs': [ 58 'include_dirs': [
60 '../include/core', # SkDocument.h 59 '../include/core', # SkDocument.h
61 ], 60 ],
62 }, 61 },
63 }, 62 },
64 ], 63 ],
65 } 64 }
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | gyp/pdf.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698