OLD | NEW |
---|---|
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # Gyp file for building opts target. | 5 # Gyp file for building opts target. |
6 { | 6 { |
7 # Source lists live in opts.gypi. This makes it easier to maintain our Chrome GYP/GN setup. | 7 # Source lists live in opts.gypi. This makes it easier to maintain our Chrome GYP/GN setup. |
8 # (To be honest, I'm not sure why we need to include common.gypi. I thought i t was automatic.) | 8 # (To be honest, I'm not sure why we need to include common.gypi. I thought i t was automatic.) |
9 'variables': { | 9 'variables': { |
10 'includes': [ 'common.gypi', 'opts.gypi' ], | 10 'includes': [ 'common.gypi', 'opts.gypi' ], |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
162 'dependencies': [ 'core.gyp:*' ], | 162 'dependencies': [ 'core.gyp:*' ], |
163 'include_dirs': [ | 163 'include_dirs': [ |
164 '../include/private', | 164 '../include/private', |
165 '../src/core', | 165 '../src/core', |
166 '../src/utils', | 166 '../src/utils', |
167 ], | 167 ], |
168 'sources': [ '<@(avx2_sources)' ], | 168 'sources': [ '<@(avx2_sources)' ], |
169 'msvs_settings': { 'VCCLCompilerTool': { 'EnableEnhancedInstructionSet': ' 5' } }, | 169 'msvs_settings': { 'VCCLCompilerTool': { 'EnableEnhancedInstructionSet': ' 5' } }, |
170 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': [ '-mavx2' ] }, | 170 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': [ '-mavx2' ] }, |
171 'conditions': [ | 171 'conditions': [ |
172 [ 'not skia_android_framework', { 'cflags': [ '-mavx2' ] }], | 172 [ 'not skia_android_framework', { 'cflags': [ '-mavx2', '-mtune=core-avx 2' ] }], |
Sergey M
2016/04/12 19:46:05
Add additional tuning parameter. This flag enable
| |
173 ], | 173 ], |
174 }, | 174 }, |
175 { | 175 { |
176 'target_name': 'opts_neon', | 176 'target_name': 'opts_neon', |
177 'product_name': 'skia_opts_neon', | 177 'product_name': 'skia_opts_neon', |
178 'type': 'static_library', | 178 'type': 'static_library', |
179 'standalone_static_library': 1, | 179 'standalone_static_library': 1, |
180 'dependencies': [ | 180 'dependencies': [ |
181 'core.gyp:*', | 181 'core.gyp:*', |
182 'effects.gyp:*' | 182 'effects.gyp:*' |
(...skipping 19 matching lines...) Expand all Loading... | |
202 ], | 202 ], |
203 }], | 203 }], |
204 ], | 204 ], |
205 'ldflags': [ | 205 'ldflags': [ |
206 '-march=armv7-a', | 206 '-march=armv7-a', |
207 '-Wl,--fix-cortex-a8', | 207 '-Wl,--fix-cortex-a8', |
208 ], | 208 ], |
209 }, | 209 }, |
210 ], | 210 ], |
211 } | 211 } |
OLD | NEW |