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

Side by Side Diff: gyp/zlib.gyp

Issue 957323003: miniz support in SkFlate / PDF (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: class comment Created 5 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
« no previous file with comments | « gyp/skflate.gyp ('k') | src/core/SkFlate.h » ('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 2014 Google Inc. 1 # Copyright 2014 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 5
6 { 6 {
7 'targets': [{ 7 'targets': [{
8 'target_name': 'zlib', 8 'target_name': 'zlib',
9 'type': 'none', 9 'type': 'none',
10 'direct_dependent_settings': { 10 'direct_dependent_settings': {
11 'conditions': [ 11 'conditions': [
12 [ 'skia_android_framework', { 'include_dirs': [ 'external/zlib' ] }], 12 [ 'skia_android_framework', { 'include_dirs': [ 'external/zlib' ] }],
13 [ 'skia_os == "mac" or skia_os == "ios"', { 13 [ 'skia_os == "mac" or skia_os == "ios"', {
14 # XCode needs and explicit file path, not a logical name like -lz. 14 # XCode needs and explicit file path, not a logical name like -lz.
15 'link_settings': { 'libraries': [ '$(SDKROOT)/usr/lib/libz.dylib' ] }, 15 'link_settings': { 'libraries': [ '$(SDKROOT)/usr/lib/libz.dylib' ] },
16 },{ 16 },{
17 'link_settings': { 'libraries': [ '-lz' ] }, 17 'link_settings': { 'libraries': [ '-lz' ] },
18 }] 18 }]
19 ], 19 ],
20 }, 20 },
21 },{
22 'target_name': 'miniz',
23 'type': 'none',
24 'direct_dependent_settings': {
25 'include_dirs': [ '../third_party/miniz' ],
26 'defines': [ 'ZLIB_INCLUDE="miniz.c"' ],
27 # Not ideal, but GCC's issuing an otherwise-unstoppable (but innocuous) wa rning from miniz.c
28 'cflags': [ '-w' ],
29 },
21 }], 30 }],
22 } 31 }
OLDNEW
« no previous file with comments | « gyp/skflate.gyp ('k') | src/core/SkFlate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698