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

Side by Side Diff: gyp/pdf.gyp

Issue 154053002: Reland "Gyp file changes for the android framework." (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix android build. Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « gyp/opts.gyp ('k') | gyp/zlib.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 # This file builds the PDF backend.
1 { 2 {
2 'targets': [ 3 'targets': [
3 { 4 {
4 'target_name': 'pdf', 5 'target_name': 'pdf',
5 'product_name': 'skia_pdf', 6 'product_name': 'skia_pdf',
6 'type': 'static_library', 7 'type': 'static_library',
7 'standalone_static_library': 1, 8 'standalone_static_library': 1,
8 'dependencies': [ 9 'dependencies': [
9 'skia_lib.gyp:skia_lib', 10 'skia_lib.gyp:skia_lib',
10 'zlib.gyp:zlib', 11 'zlib.gyp:zlib',
11 ], 12 ],
12 'includes': [ 13 'includes': [
13 'pdf.gypi', 14 'pdf.gypi',
14 ], 15 ],
15 'include_dirs': [ 16 'include_dirs': [
16 '../include/pdf', 17 '../include/pdf',
17 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h 18 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
18 '../src/pdf', 19 '../src/pdf',
19 '../src/utils', # needed to get SkBitSet.h 20 '../src/utils', # needed to get SkBitSet.h
20 ], 21 ],
21 'sources': [ 22 'sources': [
22 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui ld). 23 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the bui ld).
23 24
24 '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file 25 '../src/doc/SkDocument_PDF.cpp', # Chromium does use this file
25 ], 26 ],
27 'conditions': [
28 [ 'skia_android_framework', {
29 # Add SFTNLY support for PDF (which in turns depends on ICU)
30 'include_dirs': [
31 'external/sfntly/cpp/src',
32 ],
33 'libraries': [
34 'libsfntly.a',
35 '-licuuc',
36 '-licui18n',
37 ],
38 }
39 ],
40 ],
26 # This section makes all targets that depend on this target 41 # This section makes all targets that depend on this target
27 # #define SK_SUPPORT_PDF and have access to the pdf header files. 42 # #define SK_SUPPORT_PDF and have access to the pdf header files.
28 'direct_dependent_settings': { 43 'direct_dependent_settings': {
29 'defines': [ 44 'defines': [
30 'SK_SUPPORT_PDF', 45 'SK_SUPPORT_PDF',
31 ], 46 ],
32 'include_dirs': [ 47 'include_dirs': [
33 '../include/pdf', 48 '../include/pdf',
34 ], 49 ],
35 }, 50 },
36 }, 51 },
37 ], 52 ],
38 } 53 }
OLDNEW
« no previous file with comments | « gyp/opts.gyp ('k') | gyp/zlib.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698