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

Side by Side Diff: gyp/images.gyp

Issue 1820503002: Delete SkImageDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@fix-animator
Patch Set: Include SkImage Created 4 years, 9 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/core.gypi ('k') | include/core/SkCanvas.h » ('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 2015 Google Inc. 1 # Copyright 2015 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 # GYP file for images project. 6 # GYP file for images project.
7 { 7 {
8 'targets': [ 8 'targets': [
9 { 9 {
10 'target_name': 'images', 10 'target_name': 'images',
(...skipping 13 matching lines...) Expand all
24 '../include/images', 24 '../include/images',
25 '../include/private', 25 '../include/private',
26 '../src/lazy', 26 '../src/lazy',
27 # for access to SkErrorInternals.h 27 # for access to SkErrorInternals.h
28 '../src/core/', 28 '../src/core/',
29 # for access to SkImagePriv.h 29 # for access to SkImagePriv.h
30 '../src/image/', 30 '../src/image/',
31 ], 31 ],
32 'sources': [ 32 'sources': [
33 '../include/images/SkForceLinking.h', 33 '../include/images/SkForceLinking.h',
34 '../src/images/SkJpegUtility.h',
35 '../include/images/SkMovie.h', 34 '../include/images/SkMovie.h',
36 '../include/images/SkPageFlipper.h', 35 '../include/images/SkPageFlipper.h',
37 36
38 '../src/images/bmpdecoderhelper.cpp', 37 '../src/images/SkForceLinking.cpp',
39 '../src/images/bmpdecoderhelper.h', 38 '../src/images/SkImageDecoder_FactoryDefault.cpp',
40 39
41 '../src/images/SkForceLinking.cpp', 40 # If encoders are added/removed to/from (all/individual)
42 '../src/images/SkImageDecoder.cpp',
43 '../src/images/SkImageDecoder_FactoryDefault.cpp',
44 '../src/images/SkImageDecoder_FactoryRegistrar.cpp',
45
46 # If decoders are added/removed to/from (all/individual)
47 # platform(s), be sure to update SkForceLinking.cpp 41 # platform(s), be sure to update SkForceLinking.cpp
48 # so the right decoders will be forced to link. 42 # so the right decoders will be forced to link.
49 43
50 # IMPORTANT: The build order of the SkImageDecoder_*.cpp files
51 # defines the order image decoders are tested when decoding a
52 # stream. The last decoder is the first one tested, so the .cpp
53 # files should be in listed in order from the least likely to be
54 # used, to the most likely (jpeg and png should be the last two
55 # for instance.) As a result, they are deliberately not in
56 # alphabetical order.
57 '../src/images/SkImageDecoder_wbmp.cpp',
58 '../src/images/SkImageDecoder_pkm.cpp',
59 '../src/images/SkImageDecoder_ktx.cpp', 44 '../src/images/SkImageDecoder_ktx.cpp',
60 '../src/images/SkImageDecoder_astc.cpp',
61 '../src/images/SkImageDecoder_libbmp.cpp',
62 '../src/images/SkImageDecoder_libgif.cpp',
63 '../src/images/SkImageDecoder_libico.cpp',
64 '../src/images/SkImageDecoder_libwebp.cpp', 45 '../src/images/SkImageDecoder_libwebp.cpp',
65 '../src/images/SkImageDecoder_libjpeg.cpp', 46 '../src/images/SkImageDecoder_libjpeg.cpp',
66 '../src/images/SkImageDecoder_libpng.cpp', 47 '../src/images/SkImageDecoder_libpng.cpp',
67 48
68 '../src/images/SkImageEncoder.cpp', 49 '../src/images/SkImageEncoder.cpp',
69 '../src/images/SkImageEncoder_Factory.cpp', 50 '../src/images/SkImageEncoder_Factory.cpp',
70 '../src/images/SkImageEncoder_argb.cpp', 51 '../src/images/SkImageEncoder_argb.cpp',
71 '../src/images/SkJpegUtility.cpp', 52 '../src/images/SkJpegUtility.cpp',
72 '../src/images/SkMovie.cpp', 53 '../src/images/SkMovie.cpp',
73 '../src/images/SkMovie_gif.cpp', 54 '../src/images/SkMovie_gif.cpp',
74 '../src/images/SkPageFlipper.cpp', 55 '../src/images/SkPageFlipper.cpp',
75 '../src/images/SkScaledBitmapSampler.cpp',
76 '../src/images/SkScaledBitmapSampler.h',
77 56
78 '../src/ports/SkImageDecoder_CG.cpp', 57 '../src/ports/SkImageDecoder_CG.cpp',
79 '../src/ports/SkImageDecoder_WIC.cpp', 58 '../src/ports/SkImageDecoder_WIC.cpp',
80 ], 59 ],
81 'conditions': [ 60 'conditions': [
82 [ 'skia_os == "win"', { 61 [ 'skia_os == "win"', {
83 'sources!': [ 62 'sources!': [
84 '../src/images/SkImageDecoder_FactoryDefault.cpp',
85 '../src/images/SkImageDecoder_libgif.cpp',
86 '../src/images/SkImageDecoder_libpng.cpp', 63 '../src/images/SkImageDecoder_libpng.cpp',
87 '../src/images/SkMovie_gif.cpp', 64 '../src/images/SkMovie_gif.cpp',
88 ], 65 ],
89 'dependencies!': [ 66 'dependencies!': [
90 'giflib.gyp:giflib' 67 'giflib.gyp:giflib'
91 ], 68 ],
92 'link_settings': { 69 'link_settings': {
93 'libraries': [ 70 'libraries': [
94 '-lwindowscodecs.lib', 71 '-lwindowscodecs.lib',
95 ], 72 ],
96 }, 73 },
97 },{ #else if skia_os != win 74 },{ #else if skia_os != win
98 'sources!': [ 75 'sources!': [
99 '../src/ports/SkImageDecoder_WIC.cpp', 76 '../src/ports/SkImageDecoder_WIC.cpp',
100 ], 77 ],
101 }], 78 }],
102 [ 'skia_os in ["mac", "ios"]', { 79 [ 'skia_os in ["mac", "ios"]', {
103 'sources!': [ 80 'sources!': [
104 '../src/images/SkImageDecoder_FactoryDefault.cpp',
105 '../src/images/SkImageDecoder_libpng.cpp', 81 '../src/images/SkImageDecoder_libpng.cpp',
106 '../src/images/SkImageDecoder_libgif.cpp',
107 '../src/images/SkMovie_gif.cpp', 82 '../src/images/SkMovie_gif.cpp',
108 ], 83 ],
109 },{ #else if skia_os != mac 84 },{ #else if skia_os != mac
110 'sources!': [ 85 'sources!': [
111 '../src/ports/SkImageDecoder_CG.cpp', 86 '../src/ports/SkImageDecoder_CG.cpp',
112 ], 87 ],
113 }], 88 }],
114 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { 89 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
115 'dependencies': [ 90 'dependencies': [
116 'libpng.gyp:libpng', 91 'libpng.gyp:libpng',
117 ], 92 ],
118 # end libpng stuff 93 # end libpng stuff
119 }], 94 }],
120 [ 'skia_os == "android"', { 95 [ 'skia_os == "android"', {
121 'include_dirs': [ 96 'include_dirs': [
122 '../src/utils', 97 '../src/utils',
123 ], 98 ],
124 'dependencies': [ 99 'dependencies': [
125 'libpng.gyp:libpng', 100 'libpng.gyp:libpng',
126 ], 101 ],
127 'conditions': [ 102 'conditions': [
128 [ 'skia_android_framework == 1', { 103 [ 'skia_android_framework == 1', {
129 # The android framework disables these decoders as they are of lit tle use to 104 # The android framework disables these decoders as they are of lit tle use to
130 # Java applications that can't take advantage of the compressed fo rmats. 105 # Java applications that can't take advantage of the compressed fo rmats.
131 'sources!': [ 106 'sources!': [
132 '../src/images/SkImageDecoder_pkm.cpp',
133 '../src/images/SkImageDecoder_ktx.cpp', 107 '../src/images/SkImageDecoder_ktx.cpp',
134 '../src/images/SkImageDecoder_astc.cpp',
135 ], 108 ],
136 }], 109 }],
137 ], 110 ],
138 }], 111 }],
139 [ 'skia_os == "chromeos"', { 112 [ 'skia_os == "chromeos"', {
140 'dependencies': [ 113 'dependencies': [
141 'libpng.gyp:libpng', 114 'libpng.gyp:libpng',
142 ], 115 ],
143 }], 116 }],
144 [ 'skia_os == "ios"', { 117 [ 'skia_os == "ios"', {
145 'include_dirs': [ 118 'include_dirs': [
146 '../include/utils/mac', 119 '../include/utils/mac',
147 ], 120 ],
148 }], 121 }],
149 ], 122 ],
150 'direct_dependent_settings': { 123 'direct_dependent_settings': {
151 'include_dirs': [ 124 'include_dirs': [
152 '../include/images', 125 '../include/images',
153 ], 126 ],
154 }, 127 },
155 }, 128 },
156 ], 129 ],
157 } 130 }
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | include/core/SkCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698