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

Side by Side Diff: gyp/images.gyp

Issue 153093003: Gyp file changes for the android framework. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 10 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/freetype.gyp ('k') | gyp/libwebp.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 # 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 'libwebp.gyp:libwebp', 12 'libwebp.gyp:libwebp',
13 'utils.gyp:utils', 13 'utils.gyp:utils',
14 ], 14 ],
15 'conditions': [ 15 'export_dependent_settings': [
16 [ 'skia_android_framework == 0', { 16 'libjpeg.gyp:*',
17 'export_dependent_settings': [
18 'libjpeg.gyp:*',
19 ],
20 }],
21 ], 17 ],
22 'include_dirs': [ 18 'include_dirs': [
23 '../include/images', 19 '../include/images',
24 '../src/lazy', 20 '../src/lazy',
25 # for access to SkErrorInternals.h 21 # for access to SkErrorInternals.h
26 '../src/core/', 22 '../src/core/',
27 # for access to SkImagePriv.h 23 # for access to SkImagePriv.h
28 '../src/image/', 24 '../src/image/',
29 # So src/ports/SkImageDecoder_CG can access SkStreamHelpers.h 25 # So src/ports/SkImageDecoder_CG can access SkStreamHelpers.h
30 '../src/images/', 26 '../src/images/',
31 ], 27 ],
32 'sources': [ 28 'sources': [
33 '../include/images/SkForceLinking.h', 29 '../include/images/SkForceLinking.h',
34 '../include/images/SkImageRef.h', 30 '../include/images/SkImageRef.h',
35 '../include/images/SkImageRef_GlobalPool.h', 31 '../include/images/SkImageRef_GlobalPool.h',
36 '../src/images/SkJpegUtility.h', 32 '../src/images/SkJpegUtility.h',
37 '../include/images/SkMovie.h', 33 '../include/images/SkMovie.h',
38 '../include/images/SkPageFlipper.h', 34 '../include/images/SkPageFlipper.h',
39 35
40 '../src/images/bmpdecoderhelper.cpp', 36 '../src/images/bmpdecoderhelper.cpp',
41 '../src/images/bmpdecoderhelper.h', 37 '../src/images/bmpdecoderhelper.h',
42 38
43 '../src/images/SkDecodingImageGenerator.cpp', 39 '../src/images/SkDecodingImageGenerator.cpp',
44 '../src/images/SkDecodingImageGenerator.h', 40 '../src/images/SkDecodingImageGenerator.h',
45 '../src/images/SkForceLinking.cpp', 41 '../src/images/SkForceLinking.cpp',
46 '../src/images/SkImageDecoder.cpp', 42 '../src/images/SkImageDecoder.cpp',
47 '../src/images/SkImageDecoder_FactoryDefault.cpp', 43 '../src/images/SkImageDecoder_FactoryDefault.cpp',
48 '../src/images/SkImageDecoder_FactoryRegistrar.cpp', 44 '../src/images/SkImageDecoder_FactoryRegistrar.cpp',
49
50 # If decoders are added/removed to/from (all/individual) 45 # If decoders are added/removed to/from (all/individual)
51 # platform(s), be sure to update SkForceLinking.cpp 46 # platform(s), be sure to update SkForceLinking.cpp
52 # so the right decoders will be forced to link. 47 # so the right decoders will be forced to link.
53
54 # IMPORTANT: The build order of the SkImageDecoder_*.cpp files
55 # defines the order image decoders are tested when decoding a
56 # stream. The last decoder is the first one tested, so the .cpp
57 # files should be in listed in order from the least likely to be
58 # used, to the most likely (jpeg and png should be the last two
59 # for instance.) As a result, they are deliberately not in
60 # alphabetical order.
61 '../src/images/SkImageDecoder_wbmp.cpp',
62 '../src/images/SkImageDecoder_libbmp.cpp', 48 '../src/images/SkImageDecoder_libbmp.cpp',
63 '../src/images/SkImageDecoder_libgif.cpp', 49 '../src/images/SkImageDecoder_libgif.cpp',
64 '../src/images/SkImageDecoder_libico.cpp', 50 '../src/images/SkImageDecoder_libico.cpp',
65 '../src/images/SkImageDecoder_libwebp.cpp',
66 '../src/images/SkImageDecoder_libjpeg.cpp', 51 '../src/images/SkImageDecoder_libjpeg.cpp',
67 '../src/images/SkImageDecoder_libpng.cpp', 52 '../src/images/SkImageDecoder_libpng.cpp',
68 53 '../src/images/SkImageDecoder_libwebp.cpp',
54 '../src/images/SkImageDecoder_wbmp.cpp',
69 '../src/images/SkImageEncoder.cpp', 55 '../src/images/SkImageEncoder.cpp',
70 '../src/images/SkImageEncoder_Factory.cpp', 56 '../src/images/SkImageEncoder_Factory.cpp',
71 '../src/images/SkImageEncoder_argb.cpp', 57 '../src/images/SkImageEncoder_argb.cpp',
72 '../src/images/SkImageRef.cpp', 58 '../src/images/SkImageRef.cpp',
73 '../src/images/SkImageRefPool.cpp', 59 '../src/images/SkImageRefPool.cpp',
74 '../src/images/SkImageRefPool.h', 60 '../src/images/SkImageRefPool.h',
75 '../src/images/SkImageRef_ashmem.h', 61 '../src/images/SkImageRef_ashmem.h',
76 '../src/images/SkImageRef_ashmem.cpp', 62 '../src/images/SkImageRef_ashmem.cpp',
77 '../src/images/SkImageRef_GlobalPool.cpp', 63 '../src/images/SkImageRef_GlobalPool.cpp',
78 '../src/images/SkImages.cpp', 64 '../src/images/SkImages.cpp',
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 }, 133 },
148 }], 134 }],
149 [ 'skia_os == "android"', { 135 [ 'skia_os == "android"', {
150 'include_dirs': [ 136 'include_dirs': [
151 '../src/utils', 137 '../src/utils',
152 ], 138 ],
153 'dependencies': [ 139 'dependencies': [
154 'android_deps.gyp:gif', 140 'android_deps.gyp:gif',
155 'android_deps.gyp:png', 141 'android_deps.gyp:png',
156 ], 142 ],
157 'conditions': [ 143 'export_dependent_settings': [
158 [ 'skia_android_framework == 0', { 144 'android_deps.gyp:png'
159 'export_dependent_settings': [
160 'android_deps.gyp:png'
161 ],
162 }],
163 ], 145 ],
164 },{ #else if skia_os != android 146 },{ #else if skia_os != android
165 'sources!': [ 147 'sources!': [
166 '../src/images/SkImageRef_ashmem.h', 148 '../src/images/SkImageRef_ashmem.h',
167 '../src/images/SkImageRef_ashmem.cpp', 149 '../src/images/SkImageRef_ashmem.cpp',
168 ], 150 ],
169 }], 151 }],
170 [ 'skia_os == "chromeos"', { 152 [ 'skia_os == "chromeos"', {
171 'dependencies': [ 153 'dependencies': [
172 'chromeos_deps.gyp:gif', 154 'chromeos_deps.gyp:gif',
(...skipping 11 matching lines...) Expand all
184 }], 166 }],
185 ], 167 ],
186 'direct_dependent_settings': { 168 'direct_dependent_settings': {
187 'include_dirs': [ 169 'include_dirs': [
188 '../include/images', 170 '../include/images',
189 ], 171 ],
190 }, 172 },
191 }, 173 },
192 ], 174 ],
193 } 175 }
OLDNEW
« no previous file with comments | « gyp/freetype.gyp ('k') | gyp/libwebp.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698