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

Side by Side Diff: gyp/opts.gyp

Issue 1273103002: Port SkTextureCompression opts to SkOpts (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update include_dirs 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 | « 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 }, 85 },
86 { 86 {
87 'target_name': 'opts_ssse3', 87 'target_name': 'opts_ssse3',
88 'product_name': 'skia_opts_ssse3', 88 'product_name': 'skia_opts_ssse3',
89 'type': 'static_library', 89 'type': 'static_library',
90 'standalone_static_library': 1, 90 'standalone_static_library': 1,
91 'dependencies': [ 'core.gyp:*' ], 91 'dependencies': [ 'core.gyp:*' ],
92 'include_dirs': [ 92 'include_dirs': [
93 '../include/private', 93 '../include/private',
94 '../src/core', 94 '../src/core',
95 '../src/utils',
95 ], 96 ],
96 'sources': [ '<@(ssse3_sources)' ], 97 'sources': [ '<@(ssse3_sources)' ],
97 'conditions': [ 98 'conditions': [
98 [ 'skia_os == "win"', { 99 [ 'skia_os == "win"', {
99 'defines' : [ 'SK_CPU_SSE_LEVEL=31' ], 100 'defines' : [ 'SK_CPU_SSE_LEVEL=31' ],
100 }], 101 }],
101 [ 'not skia_android_framework', { 102 [ 'not skia_android_framework', {
102 'cflags': [ '-mssse3' ], 103 'cflags': [ '-mssse3' ],
103 }], 104 }],
104 ], 105 ],
105 }, 106 },
106 { 107 {
107 'target_name': 'opts_sse41', 108 'target_name': 'opts_sse41',
108 'product_name': 'skia_opts_sse41', 109 'product_name': 'skia_opts_sse41',
109 'type': 'static_library', 110 'type': 'static_library',
110 'standalone_static_library': 1, 111 'standalone_static_library': 1,
111 'dependencies': [ 'core.gyp:*' ], 112 'dependencies': [ 'core.gyp:*' ],
112 'include_dirs': [ 113 'include_dirs': [
113 '../include/private', 114 '../include/private',
114 '../src/core', 115 '../src/core',
116 '../src/utils',
115 ], 117 ],
116 'sources': [ '<@(sse41_sources)' ], 118 'sources': [ '<@(sse41_sources)' ],
117 'conditions': [ 119 'conditions': [
118 [ 'skia_os == "win"', { 120 [ 'skia_os == "win"', {
119 'defines' : [ 'SK_CPU_SSE_LEVEL=41' ], 121 'defines' : [ 'SK_CPU_SSE_LEVEL=41' ],
120 }], 122 }],
121 [ 'not skia_android_framework', { 123 [ 'not skia_android_framework', {
122 'cflags': [ '-msse4.1' ], 124 'cflags': [ '-msse4.1' ],
123 }], 125 }],
124 [ 'skia_os == "mac"', { 126 [ 'skia_os == "mac"', {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 ], 158 ],
157 }], 159 }],
158 ], 160 ],
159 'ldflags': [ 161 'ldflags': [
160 '-march=armv7-a', 162 '-march=armv7-a',
161 '-Wl,--fix-cortex-a8', 163 '-Wl,--fix-cortex-a8',
162 ], 164 ],
163 }, 165 },
164 ], 166 ],
165 } 167 }
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