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

Side by Side Diff: gyp/zlib.gyp

Issue 152513007: Build Skia for a bare-bones embedded Linux system. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: changes 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
« gyp/freetype.gyp ('K') | « gyp/skflate.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Target for including zlib.
djsollen 2014/02/06 18:22:41 just curious but why not repurpose this file inste
hal.canary 2014/02/06 21:01:54 Done.
2 {
3 'targets': [
4 {
5 'target_name': 'zlib',
6 'type': 'static_library',
7 'dependencies': [
8 'skia_lib.gyp:skia_lib',
9 ],
10 'sources': [
11 '../include/core/SkFlate.h',
12
13 '../src/core/SkFlate.cpp',
14 ],
15 'conditions': [
16 [ 'skia_os == "mac"', {
17 'link_settings': {
18 'libraries': [
19 '$(SDKROOT)/usr/lib/libz.dylib',
20 ],
21 },
22 'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
23 }],
24 [ 'skia_os == "ios"', {
25 'link_settings': {
26 'libraries': [
27 '$(SDKROOT)/usr/lib/libz.dylib',
28 ],
29 },
30 'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
31 }],
32 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android", "nac l"]', {
33 'link_settings': { 'libraries': [ '-lz', ], },
34 'conditions': [
35 [ 'skia_android_framework==0', {
36 'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
37 }],
38 ],
39 }],
40 [ 'skia_android_framework', {
41 'include_dirs': [
42 'external/zlib',
43 ],
44 }],
45 ],
46 },
47 ],
48 }
OLDNEW
« gyp/freetype.gyp ('K') | « gyp/skflate.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698