OLD | NEW |
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 '-marm', | 95 '-marm', |
96 '-mapcs-frame', | 96 '-mapcs-frame', |
97 ], | 97 ], |
98 'cflags': [ | 98 'cflags': [ |
99 '-fomit-frame-pointer', | 99 '-fomit-frame-pointer', |
100 ], | 100 ], |
101 'sources': [ | 101 'sources': [ |
102 '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp', | 102 '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp', |
103 ], | 103 ], |
104 }], | 104 }], |
105 [ 'target_arch == "arm" and (arm_version < 7 or (arm_neon == 0 and arm_n
eon_optional == 1))', { | 105 [ 'target_arch == "arm" and (arm_version < 7 or arm_neon == 0)', { |
106 'sources': [ | 106 'sources': [ |
107 '../third_party/skia/src/opts/memset.arm.S', | 107 '../third_party/skia/src/opts/memset.arm.S', |
108 ], | 108 ], |
109 }], | 109 }], |
110 [ 'target_arch == "arm" and arm_version < 6', { | 110 [ 'target_arch == "arm" and arm_version < 6', { |
111 'sources': [ | 111 'sources': [ |
112 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', | 112 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', |
113 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 113 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
114 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 114 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
115 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', | 115 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 'defines': [ | 323 'defines': [ |
324 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', | 324 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', |
325 ], | 325 ], |
326 }], | 326 }], |
327 ], | 327 ], |
328 }, | 328 }, |
329 ], | 329 ], |
330 }], | 330 }], |
331 ], | 331 ], |
332 } | 332 } |
OLD | NEW |