| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'conditions': [ | 6 'conditions': [ |
| 7 # In component mode (shared_lib), we build all of skia as a single DLL. | 7 # In component mode (shared_lib), we build all of skia as a single DLL. |
| 8 # However, in the static mode, we need to build skia as multiple targets | 8 # However, in the static mode, we need to build skia as multiple targets |
| 9 # in order to support the use case where a platform (e.g. Android) may | 9 # in order to support the use case where a platform (e.g. Android) may |
| 10 # already have a copy of skia as a system library. | 10 # already have a copy of skia as a system library. |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 target_arch != "arm" and target_arch != "mipsel" and \ | 100 target_arch != "arm" and target_arch != "mipsel" and \ |
| 101 target_arch != "arm64" and target_arch != "mips64el"', { | 101 target_arch != "arm64" and target_arch != "mips64el"', { |
| 102 'cflags': [ | 102 'cflags': [ |
| 103 '-msse2', | 103 '-msse2', |
| 104 ], | 104 ], |
| 105 }], | 105 }], |
| 106 [ 'target_arch != "arm" and target_arch != "mipsel" and \ | 106 [ 'target_arch != "arm" and target_arch != "mipsel" and \ |
| 107 target_arch != "arm64" and target_arch != "mips64el"', { | 107 target_arch != "arm64" and target_arch != "mips64el"', { |
| 108 'sources': [ | 108 'sources': [ |
| 109 'ext/convolver_SSE2.cc', | 109 'ext/convolver_SSE2.cc', |
| 110 'ext/convolver_SSE2.h', |
| 110 ], | 111 ], |
| 111 }], | 112 }], |
| 112 [ 'target_arch == "mipsel"',{ | 113 [ 'target_arch == "mipsel" and mips_dsp_rev >= 2',{ |
| 113 'cflags': [ | |
| 114 '-fomit-frame-pointer', | |
| 115 ], | |
| 116 'sources': [ | 114 'sources': [ |
| 117 'ext/convolver_mips_dspr2.cc', | 115 'ext/convolver_mips_dspr2.cc', |
| 116 'ext/convolver_mips_dspr2.h', |
| 118 ], | 117 ], |
| 119 }], | 118 }], |
| 120 ], | 119 ], |
| 121 }, | 120 }, |
| 122 { | 121 { |
| 123 'target_name': 'image_operations_bench', | 122 'target_name': 'image_operations_bench', |
| 124 'type': 'executable', | 123 'type': 'executable', |
| 125 'dependencies': [ | 124 'dependencies': [ |
| 126 '../base/base.gyp:base', | 125 '../base/base.gyp:base', |
| 127 'skia', | 126 'skia', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 142 ], | 141 ], |
| 143 'sources': [ | 142 'sources': [ |
| 144 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', | 143 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', |
| 145 ], | 144 ], |
| 146 'includes': [ | 145 'includes': [ |
| 147 '../build/android/increase_size_for_speed.gypi', | 146 '../build/android/increase_size_for_speed.gypi', |
| 148 ], | 147 ], |
| 149 }, | 148 }, |
| 150 ], | 149 ], |
| 151 } | 150 } |
| OLD | NEW |