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

Side by Side Diff: gyp/gpu.gyp

Issue 41213003: Hook in rough distance field support for fonts (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Replace magic number 32 with constant; fix comment in shader; fix Linux compiler error. Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « gyp/edtaa.gyp ('k') | include/gpu/GrDistanceFieldTextContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'target_defaults': { 2 'target_defaults': {
3 'conditions': [ 3 'conditions': [
4 ['skia_os != "win"', { 4 ['skia_os != "win"', {
5 'sources/': [ ['exclude', '_win.(h|cpp)$'], 5 'sources/': [ ['exclude', '_win.(h|cpp)$'],
6 ], 6 ],
7 }], 7 }],
8 ['skia_os != "mac"', { 8 ['skia_os != "mac"', {
9 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'], 9 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'],
10 ], 10 ],
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 }, 76 },
77 'targets': [ 77 'targets': [
78 { 78 {
79 'target_name': 'skgpu', 79 'target_name': 'skgpu',
80 'product_name': 'skia_skgpu', 80 'product_name': 'skia_skgpu',
81 'type': 'static_library', 81 'type': 'static_library',
82 'standalone_static_library': 1, 82 'standalone_static_library': 1,
83 'dependencies': [ 83 'dependencies': [
84 'angle.gyp:*', 84 'angle.gyp:*',
85 'core.gyp:*', 85 'core.gyp:*',
86 'edtaa.gyp:*',
86 'utils.gyp:*', 87 'utils.gyp:*',
87 ], 88 ],
88 'includes': [ 89 'includes': [
89 'gpu.gypi', 90 'gpu.gypi',
90 ], 91 ],
91 'include_dirs': [ 92 'include_dirs': [
92 '../include/gpu', 93 '../include/gpu',
93 '../src/core', 94 '../src/core',
94 '../src/gpu', 95 '../src/gpu',
95 ], 96 ],
(...skipping 29 matching lines...) Expand all
125 '../experimental/AndroidPathRenderer/GrAndroidPathRenderer.cpp', 126 '../experimental/AndroidPathRenderer/GrAndroidPathRenderer.cpp',
126 '../experimental/AndroidPathRenderer/GrAndroidPathRenderer.h', 127 '../experimental/AndroidPathRenderer/GrAndroidPathRenderer.h',
127 '../experimental/AndroidPathRenderer/AndroidPathRenderer.cpp', 128 '../experimental/AndroidPathRenderer/AndroidPathRenderer.cpp',
128 '../experimental/AndroidPathRenderer/AndroidPathRenderer.h', 129 '../experimental/AndroidPathRenderer/AndroidPathRenderer.h',
129 '../experimental/AndroidPathRenderer/Vertex.h', 130 '../experimental/AndroidPathRenderer/Vertex.h',
130 ], 131 ],
131 'defines': [ 132 'defines': [
132 'GR_ANDROID_PATH_RENDERING=1', 133 'GR_ANDROID_PATH_RENDERING=1',
133 ], 134 ],
134 }], 135 }],
136 [ 'skia_distancefield_fonts', {
137 'sources': [
138 '<(skia_include_path)/gpu/GrDistanceFieldTextContext.h',
139 '<(skia_src_path)/gpu/GrDistanceFieldTextContext.cpp',
140 '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.cpp',
141 '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.h',
142 ],
143 'defines': [
144 'GR_DISTANCEFIELD_FONTS=1',
145 ],
146 }],
135 [ 'skia_os == "linux" or skia_os == "chromeos"', { 147 [ 'skia_os == "linux" or skia_os == "chromeos"', {
136 'sources!': [ 148 'sources!': [
137 '../src/gpu/gl/GrGLDefaultInterface_none.cpp', 149 '../src/gpu/gl/GrGLDefaultInterface_none.cpp',
138 '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', 150 '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp',
139 ], 151 ],
140 'link_settings': { 152 'link_settings': {
141 'libraries': [ 153 'libraries': [
142 '-lGL', 154 '-lGL',
143 '-lGLU', 155 '-lGLU',
144 '-lX11', 156 '-lX11',
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 ], 230 ],
219 }, 231 },
220 ], 232 ],
221 } 233 }
222 234
223 # Local Variables: 235 # Local Variables:
224 # tab-width:2 236 # tab-width:2
225 # indent-tabs-mode:nil 237 # indent-tabs-mode:nil
226 # End: 238 # End:
227 # vim: set expandtab tabstop=2 shiftwidth=2: 239 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/edtaa.gyp ('k') | include/gpu/GrDistanceFieldTextContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698