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

Side by Side Diff: gyp/opts.gyp

Issue 1532613002: AVX 2 SrcOver blits: color32, blitmask. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: i'd have sworn other_cflags used to work Created 4 years, 10 months 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
« no previous file with comments | « no previous file | gyp/opts.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 'type': 'static_library', 142 'type': 'static_library',
143 'standalone_static_library': 1, 143 'standalone_static_library': 1,
144 'dependencies': [ 'core.gyp:*' ], 144 'dependencies': [ 'core.gyp:*' ],
145 'include_dirs': [ 145 'include_dirs': [
146 '../include/private', 146 '../include/private',
147 '../src/core', 147 '../src/core',
148 '../src/utils', 148 '../src/utils',
149 ], 149 ],
150 'sources': [ '<@(avx_sources)' ], 150 'sources': [ '<@(avx_sources)' ],
151 'msvs_settings': { 'VCCLCompilerTool': { 'EnableEnhancedInstructionSet': ' 3' } }, 151 'msvs_settings': { 'VCCLCompilerTool': { 'EnableEnhancedInstructionSet': ' 3' } },
152 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx' ] }, 152 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': [ '-mavx' ] },
153 'conditions': [ 153 'conditions': [
154 [ 'not skia_android_framework', { 'cflags': [ '-mavx' ] }], 154 [ 'not skia_android_framework', { 'cflags': [ '-mavx' ] }],
155 ], 155 ],
156 }, 156 },
157 { 157 {
158 'target_name': 'opts_avx2', 158 'target_name': 'opts_avx2',
159 'product_name': 'skia_opts_avx2', 159 'product_name': 'skia_opts_avx2',
160 'type': 'static_library', 160 'type': 'static_library',
161 'standalone_static_library': 1, 161 'standalone_static_library': 1,
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_CFLAGS': [ '-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' ] }],
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': [
(...skipping 21 matching lines...) Expand all
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 }
OLDNEW
« no previous file with comments | « no previous file | gyp/opts.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698