| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 }, | 56 }, |
| 57 'direct_dependent_settings': { | 57 'direct_dependent_settings': { |
| 58 'defines/': [ | 58 'defines/': [ |
| 59 ['exclude', '.*'], | 59 ['exclude', '.*'], |
| 60 ], | 60 ], |
| 61 'include_dirs/': [ | 61 'include_dirs/': [ |
| 62 ['exclude', '.*'], | 62 ['exclude', '.*'], |
| 63 ], | 63 ], |
| 64 }, | 64 }, |
| 65 }], | 65 }], |
| 66 [ 'skia_resource_cache_mb_limit != 0', { | |
| 67 'defines': [ | |
| 68 'GR_DEFAULT_RESOURCE_CACHE_MB_LIMIT=<(skia_resource_cache_mb_limit)', | |
| 69 ], | |
| 70 }], | |
| 71 [ 'skia_resource_cache_count_limit != 0', { | |
| 72 'defines': [ | |
| 73 'GR_DEFAULT_RESOURCE_CACHE_COUNT_LIMIT=<(skia_resource_cache_count_lim
it)', | |
| 74 ], | |
| 75 }], | |
| 76 ], | 66 ], |
| 77 'direct_dependent_settings': { | 67 'direct_dependent_settings': { |
| 78 'conditions': [ | 68 'conditions': [ |
| 79 [ 'skia_os == "win"', { | 69 [ 'skia_os == "win"', { |
| 80 'defines': [ | 70 'defines': [ |
| 81 'GR_GL_FUNCTION_TYPE=__stdcall', | 71 'GR_GL_FUNCTION_TYPE=__stdcall', |
| 82 ], | 72 ], |
| 83 }], | 73 }], |
| 84 ], | 74 ], |
| 85 'include_dirs': [ | 75 'include_dirs': [ |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 'libraries': [ | 241 'libraries': [ |
| 252 '-lGLESv2', | 242 '-lGLESv2', |
| 253 '-lEGL', | 243 '-lEGL', |
| 254 ], | 244 ], |
| 255 }, | 245 }, |
| 256 }], | 246 }], |
| 257 ], | 247 ], |
| 258 }, | 248 }, |
| 259 ], | 249 ], |
| 260 } | 250 } |
| OLD | NEW |