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

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

Powered by Google App Engine
This is Rietveld 408576698