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

Side by Side Diff: gyp/pdf.gyp

Issue 1279123007: SkPDF: allow PDF module to be disabled in DM and SampleApp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-11 (Tuesday) 10:04:57 EDT : #if SK_SUPPORT_PDF Created 5 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
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',
10 'type': 'static_library',
11 'dependencies': [ 'skia_lib.gyp:skia_lib', ],
12 'sources': [ '<(skia_src_path)/doc/SkDocument_PDF_None.cpp', ],
13 'defines': [ 'SK_SUPPORT_PDF=0', ],
14 },
15 {
9 'target_name': 'pdf', 16 'target_name': 'pdf',
10 'product_name': 'skia_pdf', 17 'product_name': 'skia_pdf',
11 'type': 'static_library', 18 'type': 'static_library',
12 'standalone_static_library': 1, 19 'standalone_static_library': 1,
13 'variables': { 'skia_pdf_use_sfntly%': 1, }, 20 'variables': { 'skia_pdf_use_sfntly%': 1, },
14 'dependencies': [ 21 'dependencies': [
15 'skia_lib.gyp:skia_lib', 22 'skia_lib.gyp:skia_lib',
16 'skflate.gyp:skflate', 23 'skflate.gyp:skflate',
17 ], 24 ],
18 'includes': [ 25 'includes': [
(...skipping 20 matching lines...) Expand all
39 ], 46 ],
40 'libraries': [ 47 'libraries': [
41 'libsfntly.a', 48 'libsfntly.a',
42 '-licuuc', 49 '-licuuc',
43 '-licui18n', 50 '-licui18n',
44 ], 51 ],
45 } 52 }
46 ], 53 ],
47 ], 54 ],
48 'direct_dependent_settings': { 55 'direct_dependent_settings': {
56 'defines': [ 'SK_SUPPORT_PDF=1', ],
49 'include_dirs': [ 57 'include_dirs': [
50 '../include/core', # SkDocument.h 58 '../include/core', # SkDocument.h
51 ], 59 ],
52 }, 60 },
53 }, 61 },
54 ], 62 ],
55 } 63 }
OLDNEW
« no previous file with comments | « gyp/common_variables.gypi ('k') | gyp/tests.gypi » ('j') | samplecode/SampleApp.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698