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

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: Warnings mostly disabled 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
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',
djsollen 2015/03/31 17:33:02 only add this include directory on windows.
msarett 2015/03/31 17:41:19 Done.
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 },
43 },
38 'sources': [ 44 'sources': [
39 '../third_party/externals/giflib/dgif_lib.c', 45 '../third_party/externals/giflib/dgif_lib.c',
40 '../third_party/externals/giflib/gifalloc.c', 46 '../third_party/externals/giflib/gifalloc.c',
41 '../third_party/externals/giflib/gif_err.c', 47 '../third_party/externals/giflib/gif_err.c',
42 ], 48 ],
43 }, { # skia_android_framework 49 }, { # skia_android_framework
44 'type': 'none', 50 'type': 'none',
45 'direct_dependent_settings': { 51 'direct_dependent_settings': {
46 'libraries' : [ 52 'libraries' : [
47 'libgif.a', 53 'libgif.a',
48 ], 54 ],
49 'include_dirs': [ 55 'include_dirs': [
50 'external/giflib', 56 'external/giflib',
51 ] 57 ]
52 } 58 }
53 } 59 }
54 ] 60 ]
55 ] 61 ]
56 } 62 }
57 ] 63 ]
58 } 64 }
OLDNEW
« no previous file with comments | « gyp/codec.gyp ('k') | src/codec/SkCodec.cpp » ('j') | src/codec/SkCodec.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698