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

Side by Side Diff: gyp/giflib.gyp

Issue 1038863003: WIP: Added support for giflib, updated jpeg and png (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Merge 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/common_variables.gypi ('k') | gyp/images.gyp » ('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_giflib_static', 14 [ 'skia_android_framework == 0',
15 { 15 {
16 'type': 'static_library', 16 'type': 'static_library',
17 'defines': [ 17 'defines': [
18 'HAVE_CONFIG_H', 18 'HAVE_CONFIG_H',
19 ], 19 ],
20 'include_dirs': [ 20 'include_dirs': [
21 '../third_party/externals/giflib', 21 '../third_party/externals/giflib',
22 ], 22 ],
23 'dependencies': [ 23 'dependencies': [
24 ], 24 ],
25 'direct_dependent_settings': { 25 'direct_dependent_settings': {
26 'include_dirs': [ 26 'include_dirs': [
27 '../third_party/externals/giflib', 27 '../third_party/externals/giflib',
28 ], 28 ],
29 }, 29 },
30 'cflags': [ 30 'cflags': [
31 '-w', 31 '-w',
32 ], 32 ],
33 'sources': [ 33 'sources': [
34 '../third_party/externals/giflib/dgif_lib.c', 34 '../third_party/externals/giflib/dgif_lib.c',
35 '../third_party/externals/giflib/gifalloc.c', 35 '../third_party/externals/giflib/gifalloc.c',
36 '../third_party/externals/giflib/gif_err.c', 36 '../third_party/externals/giflib/gif_err.c',
37 ], 37 ],
38 }, { # not skia_giflib_static 38 }, { # skia_android_framework
39 'type': 'none', 39 'type': 'none',
40 'direct_dependent_settings': { 40 'direct_dependent_settings': {
41 'link_settings': { 41 'libraries' : [
42 'libraries': [ 42 'libgif.a',
43 '-lgif', 43 ],
44 ], 44 'include_dirs': [
45 }, 45 'external/giflib',
46 }, 46 ]
47 }
47 } 48 }
48 ], 49 ]
49 ] 50 ]
50 } 51 }
51 ] 52 ]
52 } 53 }
OLDNEW
« no previous file with comments | « gyp/common_variables.gypi ('k') | gyp/images.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698