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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 [ 'skia_os == "win"', { | 67 [ 'skia_os == "win"', { |
68 'defines': [ | 68 'defines': [ |
69 'GR_GL_FUNCTION_TYPE=__stdcall', | 69 'GR_GL_FUNCTION_TYPE=__stdcall', |
70 ], | 70 ], |
71 }], | 71 }], |
72 ], | 72 ], |
73 'include_dirs': [ | 73 'include_dirs': [ |
74 '../include/gpu', | 74 '../include/gpu', |
75 ], | 75 ], |
76 }, | 76 }, |
| 77 'defines': [ |
| 78 'GR_COMPRESS_ALPHA_MASK=0', |
| 79 ], |
77 }, | 80 }, |
78 'targets': [ | 81 'targets': [ |
79 { | 82 { |
80 'target_name': 'skgpu', | 83 'target_name': 'skgpu', |
81 'product_name': 'skia_skgpu', | 84 'product_name': 'skia_skgpu', |
82 'type': 'static_library', | 85 'type': 'static_library', |
83 'standalone_static_library': 1, | 86 'standalone_static_library': 1, |
84 'dependencies': [ | 87 'dependencies': [ |
85 'core.gyp:*', | 88 'core.gyp:*', |
86 'utils.gyp:*', | 89 'utils.gyp:*', |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 'libraries': [ | 219 'libraries': [ |
217 '-lGLESv2', | 220 '-lGLESv2', |
218 '-lEGL', | 221 '-lEGL', |
219 ], | 222 ], |
220 }, | 223 }, |
221 }], | 224 }], |
222 ], | 225 ], |
223 }, | 226 }, |
224 ], | 227 ], |
225 } | 228 } |
OLD | NEW |