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 ], | |
80 }, | 77 }, |
81 'targets': [ | 78 'targets': [ |
82 { | 79 { |
83 'target_name': 'skgpu', | 80 'target_name': 'skgpu', |
84 'product_name': 'skia_skgpu', | 81 'product_name': 'skia_skgpu', |
85 'type': 'static_library', | 82 'type': 'static_library', |
86 'standalone_static_library': 1, | 83 'standalone_static_library': 1, |
87 'dependencies': [ | 84 'dependencies': [ |
88 'core.gyp:*', | 85 'core.gyp:*', |
89 'utils.gyp:*', | 86 'utils.gyp:*', |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 'libraries': [ | 219 'libraries': [ |
223 '-lGLESv2', | 220 '-lGLESv2', |
224 '-lEGL', | 221 '-lEGL', |
225 ], | 222 ], |
226 }, | 223 }, |
227 }], | 224 }], |
228 ], | 225 ], |
229 }, | 226 }, |
230 ], | 227 ], |
231 } | 228 } |
OLD | NEW |