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

Side by Side Diff: gyp/opts.gyp

Issue 1255193002: Lay groundwork for SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: good idea Created 5 years, 4 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 | « gyp/core.gypi ('k') | gyp/opts.gypi » ('j') | src/core/SkOpts.cpp » ('J')
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 'cflags': [ '-mssse3' ], 98 'cflags': [ '-mssse3' ],
99 }], 99 }],
100 ], 100 ],
101 }, 101 },
102 { 102 {
103 'target_name': 'opts_sse41', 103 'target_name': 'opts_sse41',
104 'product_name': 'skia_opts_sse41', 104 'product_name': 'skia_opts_sse41',
105 'type': 'static_library', 105 'type': 'static_library',
106 'standalone_static_library': 1, 106 'standalone_static_library': 1,
107 'dependencies': [ 'core.gyp:*' ], 107 'dependencies': [ 'core.gyp:*' ],
108 'include_dirs': [ '../src/core' ],
108 'sources': [ '<@(sse41_sources)' ], 109 'sources': [ '<@(sse41_sources)' ],
109 'conditions': [ 110 'conditions': [
110 [ 'skia_os == "win"', { 111 [ 'skia_os == "win"', {
111 'defines' : [ 'SK_CPU_SSE_LEVEL=41' ], 112 'defines' : [ 'SK_CPU_SSE_LEVEL=41' ],
112 }], 113 }],
113 [ 'not skia_android_framework', { 114 [ 'not skia_android_framework', {
114 'cflags': [ '-msse4.1' ], 115 'cflags': [ '-msse4.1' ],
115 }], 116 }],
116 [ 'skia_os == "mac"', { 117 [ 'skia_os == "mac"', {
117 'xcode_settings': { 'GCC_ENABLE_SSE41_EXTENSIONS': 'YES' }, 118 'xcode_settings': { 'GCC_ENABLE_SSE41_EXTENSIONS': 'YES' },
(...skipping 29 matching lines...) Expand all
147 ], 148 ],
148 }], 149 }],
149 ], 150 ],
150 'ldflags': [ 151 'ldflags': [
151 '-march=armv7-a', 152 '-march=armv7-a',
152 '-Wl,--fix-cortex-a8', 153 '-Wl,--fix-cortex-a8',
153 ], 154 ],
154 }, 155 },
155 ], 156 ],
156 } 157 }
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | gyp/opts.gypi » ('j') | src/core/SkOpts.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698