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

Side by Side Diff: skia/skia_library_opts.gyp

Issue 68343015: Roll Skia DEPS to 12260 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the big hammer Created 7 years, 1 month 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 | Annotate | Revision Log
« skia/skia_library.gypi ('K') | « skia/skia_library.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 # This gyp file contains the platform-specific optimizations for Skia 6 # This gyp file contains the platform-specific optimizations for Skia
7 { 7 {
8 'targets': [ 8 'targets': [
9 # Due to an unfortunate intersection of lameness between gcc and gyp, 9 # Due to an unfortunate intersection of lameness between gcc and gyp,
10 # we have to build the *_SSE2.cpp files in a separate target. The 10 # we have to build the *_SSE2.cpp files in a separate target. The
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 }], 44 }],
45 [ 'target_arch != "arm" and target_arch != "mipsel"', { 45 [ 'target_arch != "arm" and target_arch != "mipsel"', {
46 'sources': [ 46 'sources': [
47 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp', 47 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp',
48 '../third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp', 48 '../third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp',
49 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp', 49 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp',
50 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp', 50 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp',
51 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', 51 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp',
52 '../third_party/skia/src/opts/SkBitmapFilter_opts_SSE2.cpp', 52 '../third_party/skia/src/opts/SkBitmapFilter_opts_SSE2.cpp',
53 '../third_party/skia/src/opts/SkMorphology_opts_SSE2.cpp', 53 '../third_party/skia/src/opts/SkMorphology_opts_SSE2.cpp',
54 '../third_party/skia/src/opts/SkBlurImage_opts_SSE2.cpp',
54 ], 55 ],
55 'dependencies': [ 56 'dependencies': [
56 'skia_opts_ssse3', 57 'skia_opts_ssse3',
57 ], 58 ],
58 }], 59 }],
59 [ 'target_arch == "arm"', { 60 [ 'target_arch == "arm"', {
60 'conditions': [ 61 'conditions': [
61 [ 'arm_version >= 7 and arm_neon == 1', { 62 [ 'arm_version >= 7 and arm_neon == 1', {
62 'defines': [ 63 'defines': [
63 '__ARM_HAVE_NEON', 64 '__ARM_HAVE_NEON',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 '../third_party/skia/src/opts/memset.arm.S', 103 '../third_party/skia/src/opts/memset.arm.S',
103 ], 104 ],
104 }], 105 }],
105 [ 'target_arch == "arm" and arm_version < 6', { 106 [ 'target_arch == "arm" and arm_version < 6', {
106 'sources': [ 107 'sources': [
107 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', 108 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp',
108 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 109 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
109 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', 110 '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
110 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', 111 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp',
111 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp', 112 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp',
113 '../third_party/skia/src/opts/SkBlurImage_opts_none.cpp',
112 ], 114 ],
113 }], 115 }],
114 [ 'target_arch == "arm" and arm_version >= 6', { 116 [ 'target_arch == "arm" and arm_version >= 6', {
115 'sources': [ 117 'sources': [
116 '../third_party/skia/src/opts/SkBlitMask_opts_arm.cpp', 118 '../third_party/skia/src/opts/SkBlitMask_opts_arm.cpp',
117 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp', 119 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp',
118 '../third_party/skia/src/opts/SkBlitRow_opts_arm.h', 120 '../third_party/skia/src/opts/SkBlitRow_opts_arm.h',
119 '../third_party/skia/src/opts/opts_check_arm.cpp', 121 '../third_party/skia/src/opts/opts_check_arm.cpp',
120 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', 122 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp',
121 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp', 123 # '../third_party/skia/src/opts/SkMorphology_opts_none.cpp',
124 '../third_party/skia/src/opts/SkBlurImage_opts_none.cpp',
122 ], 125 ],
123 }], 126 }],
124 [ 'target_arch == "mipsel"',{ 127 [ 'target_arch == "mipsel"',{
125 'cflags': [ 128 'cflags': [
126 '-fomit-frame-pointer', 129 '-fomit-frame-pointer',
127 ], 130 ],
128 'sources': [ 131 'sources': [
129 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', 132 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp',
130 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', 133 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp',
131 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 134 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
132 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', 135 '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
133 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', 136 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp',
134 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp', 137 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp',
138 '../third_party/skia/src/opts/SkBlurImage_opts_none.cpp',
135 ], 139 ],
136 }], 140 }],
137 ], 141 ],
138 }, 142 },
139 # For the same lame reasons as what is done for skia_opts, we have to 143 # For the same lame reasons as what is done for skia_opts, we have to
140 # create another target specifically for SSSE3 code as we would not want 144 # create another target specifically for SSSE3 code as we would not want
141 # to compile the SSE2 code with -mssse3 which would potentially allow 145 # to compile the SSE2 code with -mssse3 which would potentially allow
142 # gcc to generate SSSE3 code. 146 # gcc to generate SSSE3 code.
143 { 147 {
144 'target_name': 'skia_opts_ssse3', 148 'target_name': 'skia_opts_ssse3',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 '../third_party/skia/include/core', 192 '../third_party/skia/include/core',
189 '../third_party/skia/src/core', 193 '../third_party/skia/src/core',
190 ], 194 ],
191 'sources': [ 195 'sources': [
192 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', 196 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp',
193 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', 197 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp',
194 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 198 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
195 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', 199 '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
196 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', 200 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp',
197 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp', 201 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp',
202 '../third_party/skia/src/opts/SkBlurImage_opts_none.cpp',
198 ], 203 ],
199 }, 204 },
200 ], 205 ],
201 'conditions': [ 206 'conditions': [
202 # NEON code must be compiled with -mfpu=neon which also affects scalar 207 # NEON code must be compiled with -mfpu=neon which also affects scalar
203 # code. To support dynamic NEON code paths, we need to build all 208 # code. To support dynamic NEON code paths, we need to build all
204 # NEON-specific sources in a separate static library. The situation 209 # NEON-specific sources in a separate static library. The situation
205 # is very similar to the SSSE3 one. 210 # is very similar to the SSSE3 one.
206 ['target_arch == "arm" and (arm_neon == 1 or arm_neon_optional == 1)', { 211 ['target_arch == "arm" and (arm_neon == 1 or arm_neon_optional == 1)', {
207 'targets': [ 212 'targets': [
(...skipping 24 matching lines...) Expand all
232 ], 237 ],
233 'sources': [ 238 'sources': [
234 '../third_party/skia/src/opts/memset16_neon.S', 239 '../third_party/skia/src/opts/memset16_neon.S',
235 '../third_party/skia/src/opts/memset32_neon.S', 240 '../third_party/skia/src/opts/memset32_neon.S',
236 '../third_party/skia/src/opts/SkBitmapProcState_arm_neon.cpp', 241 '../third_party/skia/src/opts/SkBitmapProcState_arm_neon.cpp',
237 '../third_party/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp ', 242 '../third_party/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp ',
238 '../third_party/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h' , 243 '../third_party/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h' ,
239 '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h ', 244 '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h ',
240 '../third_party/skia/src/opts/SkBlitRow_opts_arm_neon.cpp', 245 '../third_party/skia/src/opts/SkBlitRow_opts_arm_neon.cpp',
241 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp', 246 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp',
247 '../third_party/skia/src/opts/SkMorphology_opts_neon.cpp',
242 ], 248 ],
243 'conditions': [ 249 'conditions': [
244 ['arm_neon == 1', { 250 ['arm_neon == 1', {
245 'defines': [ 251 'defines': [
246 '__ARM_HAVE_NEON', 252 '__ARM_HAVE_NEON',
247 ], 253 ],
248 }], 254 }],
249 ['arm_neon_optional == 1', { 255 ['arm_neon_optional == 1', {
250 'defines': [ 256 'defines': [
251 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', 257 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT',
252 ], 258 ],
253 }], 259 }],
254 ], 260 ],
255 }, 261 },
256 ], 262 ],
257 }], 263 }],
258 ], 264 ],
259 } 265 }
OLDNEW
« skia/skia_library.gypi ('K') | « skia/skia_library.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698