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

Side by Side Diff: gyp/pdf.gyp

Issue 2273343002: SkPDF: Stop `#include PREPROCESSOR_DEFINE` pattern (Closed)
Patch Set: fix gyp/pdf.gyp syntax error Created 4 years, 3 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_conditions.gypi ('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': 'nopdf', 9 'target_name': 'nopdf',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 20 matching lines...) Expand all
31 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h 31 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
32 '../src/image', 32 '../src/image',
33 '../src/utils', # needed to get SkBitSet.h 33 '../src/utils', # needed to get SkBitSet.h
34 ], 34 ],
35 'sources': [ 35 'sources': [
36 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui ld). 36 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui ld).
37 ], 37 ],
38 'conditions': [ 38 'conditions': [
39 [ 'skia_pdf_use_sfntly and not skia_android_framework and \ 39 [ 'skia_pdf_use_sfntly and not skia_android_framework and \
40 skia_os in ["win", "android", "linux", "mac"]', 40 skia_os in ["win", "android", "linux", "mac"]',
41 { 'dependencies': [ 'sfntly.gyp:sfntly' ] } 41 {
42 'dependencies': [ 'sfntly.gyp:sfntly' ],
43 'defines': [ 'SK_PDF_USE_SFNTLY' ],
44 }
42 ], 45 ],
43 [ 'skia_android_framework', { 46 [ 'skia_android_framework', {
44 # Add SFTNLY support for PDF (which in turns depends on ICU) 47 # Add SFTNLY support for PDF (which in turns depends on ICU)
45 'include_dirs': [ 48 'include_dirs': [ 'external/sfntly/cpp/src' ],
46 'external/sfntly/cpp/src', 49 'defines': [ 'SK_PDF_USE_SFNTLY' ],
47 ],
48 'libraries': [ 50 'libraries': [
49 'libsfntly.a', 51 'libsfntly.a',
50 '-licuuc', 52 '-licuuc',
51 '-licui18n', 53 '-licui18n',
52 ], 54 ],
53 } 55 }
54 ], 56 ],
55 ], 57 ],
56 'direct_dependent_settings': { 58 'direct_dependent_settings': {
57 'include_dirs': [ 59 'include_dirs': [
58 '../include/core', # SkDocument.h 60 '../include/core', # SkDocument.h
59 ], 61 ],
60 }, 62 },
61 }, 63 },
62 ], 64 ],
63 } 65 }
OLDNEW
« no previous file with comments | « gyp/common_conditions.gypi ('k') | gyp/sfntly.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698