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

Side by Side Diff: gyp/giflib.gyp

Issue 1022673011: Creating a new wrapper for gif decoder (Closed) Base URL: https://skia.googlesource.com/skia.git@ico-real
Patch Set: Last time Created 5 years, 8 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/codec.gyp ('k') | src/codec/SkCodec.cpp » ('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 'variables': { 7 'variables': {
8 'skia_warnings_as_errors': 0, 8 'skia_warnings_as_errors': 0,
9 }, 9 },
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'giflib', 12 'target_name': 'giflib',
13 'conditions': [ 13 'conditions': [
14 [ 'skia_android_framework == 0', 14 [ 'skia_android_framework == 0',
15 { 15 {
16 'type': 'static_library', 16 'type': 'static_library',
17 'defines': [
18 'HAVE_CONFIG_H',
19 ],
20 'include_dirs': [ 17 'include_dirs': [
21 '../third_party/externals/giflib', 18 '../third_party/externals/giflib',
19 # Used to include a dummy unistd.h file for windows
20 '../third_party/giflib',
22 ], 21 ],
23 'dependencies': [ 22 'dependencies': [
24 ], 23 ],
25 'direct_dependent_settings': { 24 'direct_dependent_settings': {
26 'include_dirs': [ 25 'include_dirs': [
27 '../third_party/externals/giflib', 26 '../third_party/externals/giflib',
28 ], 27 ],
29 }, 28 },
30 'cflags': [ 29 'cflags': [
31 '-w', 30 '-w',
32 ], 31 ],
33 'xcode_settings': { 32 'xcode_settings': {
34 'WARNING_CFLAGS': [ 33 'WARNING_CFLAGS': [
35 '-w' 34 '-w'
36 ], 35 ],
37 }, 36 },
37 'msvs_settings': {
38 'VCCLCompilerTool': {
39 'AdditionalOptions': [
40 '/w',
41 ],
42 'AdditionalOptions!': [
43 # Remove the default warning flag
44 '/W3',
scroggo 2015/03/31 18:39:56 I guess this did not work?
msarett 2015/03/31 20:11:40 Unfortunately not. I did a grep for "W3" and it d
scroggo 2015/03/31 20:39:11 I would say no, until someone complains about it.
45 ],
46 },
47 },
38 'sources': [ 48 'sources': [
39 '../third_party/externals/giflib/dgif_lib.c', 49 '../third_party/externals/giflib/dgif_lib.c',
40 '../third_party/externals/giflib/gifalloc.c', 50 '../third_party/externals/giflib/gifalloc.c',
41 '../third_party/externals/giflib/gif_err.c', 51 '../third_party/externals/giflib/gif_err.c',
42 ], 52 ],
43 }, { # skia_android_framework 53 }, { # skia_android_framework
44 'type': 'none', 54 'type': 'none',
45 'direct_dependent_settings': { 55 'direct_dependent_settings': {
46 'libraries' : [ 56 'libraries' : [
47 'libgif.a', 57 'libgif.a',
48 ], 58 ],
49 'include_dirs': [ 59 'include_dirs': [
50 'external/giflib', 60 'external/giflib',
51 ] 61 ]
52 } 62 }
53 } 63 }
54 ] 64 ]
55 ] 65 ]
56 } 66 }
57 ] 67 ]
58 } 68 }
OLDNEW
« no previous file with comments | « gyp/codec.gyp ('k') | src/codec/SkCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698