OLD | NEW |
| (Empty) |
1 # 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_android_framework == 0', | |
15 { | |
16 'type': 'static_library', | |
17 'include_dirs': [ | |
18 '../third_party/externals/giflib', | |
19 ], | |
20 'dependencies': [ | |
21 ], | |
22 'direct_dependent_settings': { | |
23 'include_dirs': [ | |
24 '../third_party/externals/giflib', | |
25 ], | |
26 }, | |
27 'cflags': [ | |
28 '-w', | |
29 ], | |
30 'xcode_settings': { | |
31 'WARNING_CFLAGS': [ | |
32 '-w' | |
33 ], | |
34 }, | |
35 'msvs_settings': { | |
36 'VCCLCompilerTool': { | |
37 'AdditionalOptions': [ | |
38 '/wd4996', | |
39 '/wd4018', | |
40 '/wd4267', | |
41 ], | |
42 }, | |
43 }, | |
44 'sources': [ | |
45 '../third_party/externals/giflib/dgif_lib.c', | |
46 '../third_party/externals/giflib/gifalloc.c', | |
47 '../third_party/externals/giflib/gif_err.c', | |
48 ], | |
49 'conditions' : [ | |
50 [ 'skia_os == "win"', { | |
51 'include_dirs': [ | |
52 # Used to include a dummy unistd.h file for windows | |
53 '../third_party/giflib', | |
54 ], | |
55 }, | |
56 ], | |
57 ], | |
58 }, { # skia_android_framework | |
59 'type': 'none', | |
60 'direct_dependent_settings': { | |
61 'libraries' : [ | |
62 'libgif.a', | |
63 ], | |
64 'include_dirs': [ | |
65 'external/giflib', | |
66 ] | |
67 } | |
68 } | |
69 ] | |
70 ] | |
71 } | |
72 ] | |
73 } | |
OLD | NEW |