OLD | NEW |
1 # GYP for building gpu | 1 # GYP for building gpu |
2 { | 2 { |
3 'target_defaults': { | 3 'target_defaults': { |
4 'conditions': [ | 4 'conditions': [ |
5 ['skia_os != "win"', { | 5 ['skia_os != "win"', { |
6 'sources/': [ ['exclude', '_win.(h|cpp)$'], | 6 'sources/': [ ['exclude', '_win.(h|cpp)$'], |
7 ], | 7 ], |
8 }], | 8 }], |
9 ['skia_os != "mac"', { | 9 ['skia_os != "mac"', { |
10 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'], | 10 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'], |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 }], | 126 }], |
127 [ 'skia_chrome_utils', { | 127 [ 'skia_chrome_utils', { |
128 'sources': [ | 128 'sources': [ |
129 '../experimental/ChromeUtils/SkBorder.cpp', | 129 '../experimental/ChromeUtils/SkBorder.cpp', |
130 '../experimental/ChromeUtils/SkBorder.h', | 130 '../experimental/ChromeUtils/SkBorder.h', |
131 ], | 131 ], |
132 'defines': [ | 132 'defines': [ |
133 'GR_CHROME_UTILS=1', | 133 'GR_CHROME_UTILS=1', |
134 ], | 134 ], |
135 }], | 135 }], |
136 [ 'skia_distancefield_fonts', { | |
137 'sources': [ | |
138 '<(skia_src_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 }], | |
147 [ 'skia_os == "linux" or skia_os == "chromeos"', { | 136 [ 'skia_os == "linux" or skia_os == "chromeos"', { |
148 'sources!': [ | 137 'sources!': [ |
149 '../src/gpu/gl/GrGLDefaultInterface_none.cpp', | 138 '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
150 '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', | 139 '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
151 ], | 140 ], |
152 'link_settings': { | 141 'link_settings': { |
153 'libraries': [ | 142 'libraries': [ |
154 '-lGL', | 143 '-lGL', |
155 '-lGLU', | 144 '-lGLU', |
156 '-lX11', | 145 '-lX11', |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 'libraries': [ | 214 'libraries': [ |
226 '-lGLESv2', | 215 '-lGLESv2', |
227 '-lEGL', | 216 '-lEGL', |
228 ], | 217 ], |
229 }, | 218 }, |
230 }], | 219 }], |
231 ], | 220 ], |
232 }, | 221 }, |
233 ], | 222 ], |
234 } | 223 } |
OLD | NEW |