blob: e2424db38999ddf0c1182eb8e216565a5afd4956 [file] [log] [blame]
commit-bot@chromium.orgf84722e2014-02-24 20:22:34 +00001# Copyright 2014 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
vandebo@chromium.org0f1c95c2011-06-24 23:13:47 +00006{
mtklein1e4e8142015-02-17 13:10:43 -08007 'targets': [{
8 'target_name': 'zlib',
9 'type': 'none',
mtklein1e4e8142015-02-17 13:10:43 -080010 'direct_dependent_settings': {
vandebo@chromium.org0f1c95c2011-06-24 23:13:47 +000011 'conditions': [
mtklein4c7a8b02015-02-18 09:35:49 -080012 [ 'skia_android_framework', { 'include_dirs': [ 'external/zlib' ] }],
13 [ 'skia_os == "mac" or skia_os == "ios"', {
14 # XCode needs and explicit file path, not a logical name like -lz.
15 'link_settings': { 'libraries': [ '$(SDKROOT)/usr/lib/libz.dylib' ] },
16 },{
17 'link_settings': { 'libraries': [ '-lz' ] },
18 }]
mtklein1e4e8142015-02-17 13:10:43 -080019 ],
20 },
21 }],
vandebo@chromium.org0f1c95c2011-06-24 23:13:47 +000022}