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

Side by Side Diff: gyp/images.gyp

Issue 670453002: Remove image decoder and encoder autoregistration (Closed) Base URL: https://skia.googlesource.com/skia.git@separate-image-decoder-01-skpicture
Patch Set: Created 6 years, 2 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 # GYP file for images project. 1 # GYP file for images project.
2 { 2 {
3 'targets': [ 3 'targets': [
4 { 4 {
5 'target_name': 'images', 5 'target_name': 'images',
6 'product_name': 'skia_images', 6 'product_name': 'skia_images',
7 'type': 'static_library', 7 'type': 'static_library',
8 'standalone_static_library': 1, 8 'standalone_static_library': 1,
9 'dependencies': [ 9 'dependencies': [
10 'core.gyp:*', 10 'core.gyp:*',
11 'libjpeg.gyp:*', 11 'libjpeg.gyp:*',
12 'etc1.gyp:libetc1', 12 'etc1.gyp:libetc1',
13 'ktx.gyp:libSkKTX', 13 'ktx.gyp:libSkKTX',
14 'libwebp.gyp:libwebp', 14 'libwebp.gyp:libwebp',
15 'utils.gyp:utils', 15 'utils.gyp:utils',
16 ], 16 ],
17 'include_dirs': [ 17 'include_dirs': [
18 '../include/images', 18 '../include/images',
19 '../src/images', 19 '../src/images',
20 '../src/lazy', 20 '../src/lazy',
21 # for access to SkErrorInternals.h 21 # for access to SkErrorInternals.h
22 '../src/core/', 22 '../src/core/',
23 # for access to SkImagePriv.h 23 # for access to SkImagePriv.h
24 '../src/image/', 24 '../src/image/',
25 # for access to GrSurface.h 25 # for access to GrSurface.h
26 '../include/gpu', 26 '../include/gpu',
27 ], 27 ],
28 'sources': [ 28 'sources': [
29 '../include/images/SkDecodingImageGenerator.h', 29 '../include/images/SkDecodingImageGenerator.h',
30 '../include/images/SkForceLinking.h',
31 '../src/images/SkJpegUtility.h', 30 '../src/images/SkJpegUtility.h',
32 '../include/images/SkMovie.h', 31 '../include/images/SkMovie.h',
33 '../include/images/SkPageFlipper.h', 32 '../include/images/SkPageFlipper.h',
34 33
35 '../src/images/bmpdecoderhelper.cpp', 34 '../src/images/bmpdecoderhelper.cpp',
36 '../src/images/bmpdecoderhelper.h', 35 '../src/images/bmpdecoderhelper.h',
37 36
38 '../src/images/SkDecodingImageGenerator.cpp', 37 '../src/images/SkDecodingImageGenerator.cpp',
39 '../src/images/SkForceLinking.cpp',
40 '../src/images/SkImageDecoder.cpp', 38 '../src/images/SkImageDecoder.cpp',
41 '../src/images/SkImageDecoder_FactoryDefault.cpp', 39 '../src/images/SkImageDecoder_Factory.cpp',
42 '../src/images/SkImageDecoder_FactoryRegistrar.cpp',
43
44 # If decoders are added/removed to/from (all/individual)
45 # platform(s), be sure to update SkForceLinking.cpp
46 # so the right decoders will be forced to link.
47
48 # IMPORTANT: The build order of the SkImageDecoder_*.cpp files
scroggo 2014/11/12 18:00:12 Generally, we keep these in alphabetical order. Si
Kimmo Kinnunen 2014/11/18 08:29:44 Done.
49 # defines the order image decoders are tested when decoding a
50 # stream. The last decoder is the first one tested, so the .cpp
51 # files should be in listed in order from the least likely to be
52 # used, to the most likely (jpeg and png should be the last two
53 # for instance.) As a result, they are deliberately not in
54 # alphabetical order.
55 '../src/images/SkImageDecoder_wbmp.cpp', 40 '../src/images/SkImageDecoder_wbmp.cpp',
56 '../src/images/SkImageDecoder_pkm.cpp', 41 '../src/images/SkImageDecoder_pkm.cpp',
57 '../src/images/SkImageDecoder_ktx.cpp', 42 '../src/images/SkImageDecoder_ktx.cpp',
58 '../src/images/SkImageDecoder_astc.cpp', 43 '../src/images/SkImageDecoder_astc.cpp',
59 '../src/images/SkImageDecoder_libbmp.cpp', 44 '../src/images/SkImageDecoder_libbmp.cpp',
60 '../src/images/SkImageDecoder_libgif.cpp', 45 '../src/images/SkImageDecoder_libgif.cpp',
61 '../src/images/SkImageDecoder_libico.cpp', 46 '../src/images/SkImageDecoder_libico.cpp',
62 '../src/images/SkImageDecoder_libwebp.cpp', 47 '../src/images/SkImageDecoder_libwebp.cpp',
63 '../src/images/SkImageDecoder_libjpeg.cpp', 48 '../src/images/SkImageDecoder_libjpeg.cpp',
64 '../src/images/SkImageDecoder_libpng.cpp', 49 '../src/images/SkImageDecoder_libpng.cpp',
65 50
66 '../src/images/SkImageEncoder.cpp', 51 '../src/images/SkImageEncoder.cpp',
67 '../src/images/SkImageEncoder_Factory.cpp', 52 '../src/images/SkImageEncoder_Factory.cpp',
68 '../src/images/SkImageEncoder_argb.cpp', 53 '../src/images/SkImageEncoder_argb.cpp',
69 '../src/images/SkJpegUtility.cpp', 54 '../src/images/SkJpegUtility.cpp',
70 '../src/images/SkMovie.cpp', 55 '../src/images/SkMovie.cpp',
71 '../src/images/SkMovie_gif.cpp', 56 '../src/images/SkMovie_gif.cpp',
72 '../src/images/SkPageFlipper.cpp', 57 '../src/images/SkPageFlipper.cpp',
73 '../src/images/SkScaledBitmapSampler.cpp', 58 '../src/images/SkScaledBitmapSampler.cpp',
74 '../src/images/SkScaledBitmapSampler.h', 59 '../src/images/SkScaledBitmapSampler.h',
75 60
76
77 '../src/images/SkImagesSupport.h', 61 '../src/images/SkImagesSupport.h',
78 '../src/ports/SkImagesSupport_default.cpp', 62 '../src/ports/SkImagesSupport_default.cpp',
79 '../src/ports/SkImageDecoder_CG.cpp', 63 '../src/ports/SkImageDecoder_CG.cpp',
80 '../src/ports/SkImageDecoder_WIC.cpp', 64 '../src/ports/SkImageDecoder_WIC.cpp',
81 ], 65 ],
82 'conditions': [ 66 'conditions': [
83 [ 'skia_os == "win"', { 67 [ 'skia_os == "win"', {
68 'include_dirs': [
69 '../src/ports',
70 ],
84 'sources!': [ 71 'sources!': [
85 '../src/images/SkImageDecoder_FactoryDefault.cpp',
86 '../src/images/SkImageDecoder_libgif.cpp', 72 '../src/images/SkImageDecoder_libgif.cpp',
87 '../src/images/SkImageDecoder_libpng.cpp', 73 '../src/images/SkImageDecoder_libpng.cpp',
88 '../src/images/SkMovie_gif.cpp', 74 '../src/images/SkMovie_gif.cpp',
89 ], 75 ],
90 'link_settings': { 76 'link_settings': {
91 'libraries': [ 77 'libraries': [
92 '-lwindowscodecs.lib', 78 '-lwindowscodecs.lib',
93 ], 79 ],
94 }, 80 },
95 },{ #else if skia_os != win 81 },{ #else if skia_os != win
96 'sources!': [ 82 'sources!': [
97 '../src/ports/SkImageDecoder_WIC.cpp', 83 '../src/ports/SkImageDecoder_WIC.cpp',
98 ], 84 ],
99 }], 85 }],
100 [ 'skia_os in ["mac", "ios"]', { 86 [ 'skia_os in ["mac", "ios"]', {
87 'include_dirs': [
88 '../src/ports',
89 ],
101 'sources!': [ 90 'sources!': [
102 '../src/images/SkImageDecoder_FactoryDefault.cpp',
103 '../src/images/SkImageDecoder_libpng.cpp', 91 '../src/images/SkImageDecoder_libpng.cpp',
104 '../src/images/SkImageDecoder_libgif.cpp', 92 '../src/images/SkImageDecoder_libgif.cpp',
105 '../src/images/SkMovie_gif.cpp', 93 '../src/images/SkMovie_gif.cpp',
106 ], 94 ],
107 },{ #else if skia_os != mac 95 },{ #else if skia_os != mac
108 'sources!': [ 96 'sources!': [
109 '../src/ports/SkImageDecoder_CG.cpp', 97 '../src/ports/SkImageDecoder_CG.cpp',
110 ], 98 ],
111 }], 99 }],
112 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { 100 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 }], 155 }],
168 ], 156 ],
169 'direct_dependent_settings': { 157 'direct_dependent_settings': {
170 'include_dirs': [ 158 'include_dirs': [
171 '../include/images', 159 '../include/images',
172 ], 160 ],
173 }, 161 },
174 }, 162 },
175 ], 163 ],
176 } 164 }
OLDNEW
« no previous file with comments | « gm/gmmain.cpp ('k') | gyp/public_headers.gypi » ('j') | gyp/public_headers.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698