| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 136 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
| 137 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', | 137 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', |
| 138 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 138 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
| 139 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 139 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
| 140 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', | 140 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', |
| 141 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp', | 141 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp', |
| 142 '../third_party/skia/src/opts/SkBlurImage_opts_none.cpp', | 142 '../third_party/skia/src/opts/SkBlurImage_opts_none.cpp', |
| 143 ], | 143 ], |
| 144 }], | 144 }], |
| 145 [ 'target_arch == "arm64"',{ | 145 [ 'target_arch == "arm64"',{ |
| 146 # TODO(rmcilroy): Update this once http://crrev.com/143423004/ lands. | 146 |
| 147 'sources': [ | 147 'sources': [ |
| 148 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 148 '../third_party/skia/src/opts/SkBitmapProcState_arm_neon.cpp', |
| 149 '../third_party/skia/src/opts/SkBlitMask_opts_none.cpp', | 149 '../third_party/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp
', |
| 150 '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp', |
| 151 '../third_party/skia/src/opts/SkBlitMask_opts_arm.cpp', |
| 152 '../third_party/skia/src/opts/SkBlitMask_opts_arm_neon.cpp', |
| 150 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 153 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
| 154 '../third_party/skia/src/opts/SkBlurImage_opts_arm.cpp', |
| 155 '../third_party/skia/src/opts/SkBlurImage_opts_neon.cpp', |
| 156 '../third_party/skia/src/opts/SkMorphology_opts_arm.cpp', |
| 157 '../third_party/skia/src/opts/SkMorphology_opts_neon.cpp', |
| 151 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 158 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
| 152 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp', | 159 '../third_party/skia/src/opts/SkXfermode_opts_arm.cpp', |
| 153 '../third_party/skia/src/opts/SkMorphology_opts_none.cpp', | 160 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp', |
| 154 '../third_party/skia/src/opts/SkBlurImage_opts_none.cpp', | |
| 155 ], | 161 ], |
| 156 }], | 162 }], |
| 157 ], | 163 ], |
| 158 }, | 164 }, |
| 159 # For the same lame reasons as what is done for skia_opts, we have to | 165 # For the same lame reasons as what is done for skia_opts, we have to |
| 160 # create another target specifically for SSSE3 code as we would not want | 166 # create another target specifically for SSSE3 code as we would not want |
| 161 # to compile the SSE2 code with -mssse3 which would potentially allow | 167 # to compile the SSE2 code with -mssse3 which would potentially allow |
| 162 # gcc to generate SSSE3 code. | 168 # gcc to generate SSSE3 code. |
| 163 { | 169 { |
| 164 'target_name': 'skia_opts_ssse3', | 170 'target_name': 'skia_opts_ssse3', |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 'defines': [ | 284 'defines': [ |
| 279 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', | 285 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', |
| 280 ], | 286 ], |
| 281 }], | 287 }], |
| 282 ], | 288 ], |
| 283 }, | 289 }, |
| 284 ], | 290 ], |
| 285 }], | 291 }], |
| 286 ], | 292 ], |
| 287 } | 293 } |
| OLD | NEW |