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

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 gyp file 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
« no previous file with comments | « 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/SkBlurImage_opts_none.cpp',
122 ], 124 ],
123 }], 125 }],
124 [ 'target_arch == "mipsel"',{ 126 [ 'target_arch == "mipsel"',{
125 'cflags': [ 127 'cflags': [
126 '-fomit-frame-pointer', 128 '-fomit-frame-pointer',
127 ], 129 ],
128 'sources': [ 130 'sources': [
129 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', 131 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp',
130 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', 132 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp',
131 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 133 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
132 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', 134 '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
133 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', 135 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp',
134 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp', 136 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp',
137 '../third_party/skia/src/opts/SkBlurImage_opts_none.cpp',
135 ], 138 ],
136 }], 139 }],
137 ], 140 ],
138 }, 141 },
139 # For the same lame reasons as what is done for skia_opts, we have to 142 # 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 143 # create another target specifically for SSSE3 code as we would not want
141 # to compile the SSE2 code with -mssse3 which would potentially allow 144 # to compile the SSE2 code with -mssse3 which would potentially allow
142 # gcc to generate SSSE3 code. 145 # gcc to generate SSSE3 code.
143 { 146 {
144 'target_name': 'skia_opts_ssse3', 147 'target_name': 'skia_opts_ssse3',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 '../third_party/skia/include/core', 191 '../third_party/skia/include/core',
189 '../third_party/skia/src/core', 192 '../third_party/skia/src/core',
190 ], 193 ],
191 'sources': [ 194 'sources': [
192 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', 195 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp',
193 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', 196 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp',
194 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 197 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
195 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', 198 '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
196 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', 199 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp',
197 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp', 200 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp',
201 '../third_party/skia/src/opts/SkBlurImage_opts_none.cpp',
198 ], 202 ],
199 }, 203 },
200 ], 204 ],
201 'conditions': [ 205 'conditions': [
202 # NEON code must be compiled with -mfpu=neon which also affects scalar 206 # 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 207 # code. To support dynamic NEON code paths, we need to build all
204 # NEON-specific sources in a separate static library. The situation 208 # NEON-specific sources in a separate static library. The situation
205 # is very similar to the SSSE3 one. 209 # is very similar to the SSSE3 one.
206 ['target_arch == "arm" and (arm_neon == 1 or arm_neon_optional == 1)', { 210 ['target_arch == "arm" and (arm_neon == 1 or arm_neon_optional == 1)', {
207 'targets': [ 211 'targets': [
(...skipping 24 matching lines...) Expand all
232 ], 236 ],
233 'sources': [ 237 'sources': [
234 '../third_party/skia/src/opts/memset16_neon.S', 238 '../third_party/skia/src/opts/memset16_neon.S',
235 '../third_party/skia/src/opts/memset32_neon.S', 239 '../third_party/skia/src/opts/memset32_neon.S',
236 '../third_party/skia/src/opts/SkBitmapProcState_arm_neon.cpp', 240 '../third_party/skia/src/opts/SkBitmapProcState_arm_neon.cpp',
237 '../third_party/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp ', 241 '../third_party/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp ',
238 '../third_party/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h' , 242 '../third_party/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h' ,
239 '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h ', 243 '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h ',
240 '../third_party/skia/src/opts/SkBlitRow_opts_arm_neon.cpp', 244 '../third_party/skia/src/opts/SkBlitRow_opts_arm_neon.cpp',
241 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp', 245 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp',
246 '../third_party/skia/src/opts/SkMorphology_opts_neon.cpp',
242 ], 247 ],
243 'conditions': [ 248 'conditions': [
244 ['arm_neon == 1', { 249 ['arm_neon == 1', {
245 'defines': [ 250 'defines': [
246 '__ARM_HAVE_NEON', 251 '__ARM_HAVE_NEON',
247 ], 252 ],
248 }], 253 }],
249 ['arm_neon_optional == 1', { 254 ['arm_neon_optional == 1', {
250 'defines': [ 255 'defines': [
251 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', 256 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT',
252 ], 257 ],
253 }], 258 }],
254 ], 259 ],
255 }, 260 },
256 ], 261 ],
257 }], 262 }],
258 ], 263 ],
259 } 264 }
OLDNEW
« no previous file with comments | « skia/skia_library.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698