blob: 3a2c2153bf0ed6b52e5dc54c59e53ab15799babc [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
6{
7 'variables': {
8 'skia_warnings_as_errors': 0,
9 },
10 'targets': [
11 {
12 'target_name': 'giflib',
13 'conditions': [
14 [ 'skia_giflib_static',
15 {
16 'type': 'static_library',
17 'defines': [
18 'HAVE_CONFIG_H',
19 ],
20 'include_dirs': [
21 '../third_party/externals/giflib',
22 ],
23 'dependencies': [
24 ],
25 'direct_dependent_settings': {
26 'include_dirs': [
27 '../third_party/externals/giflib',
28 ],
29 },
30 'cflags': [
31 '-w',
32 ],
33 'sources': [
34 '../third_party/externals/giflib/dgif_lib.c',
35 '../third_party/externals/giflib/gifalloc.c',
36 '../third_party/externals/giflib/gif_err.c',
37 ],
38 }, { # not skia_giflib_static
39 'type': 'none',
40 'direct_dependent_settings': {
41 'link_settings': {
42 'libraries': [
43 '-lgif',
44 ],
45 },
46 },
47 }
48 ],
49 ]
50 }
51 ]
52}