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 }], |
66 ], | 76 ], |
67 'direct_dependent_settings': { | 77 'direct_dependent_settings': { |
68 'conditions': [ | 78 'conditions': [ |
69 [ 'skia_os == "win"', { | 79 [ 'skia_os == "win"', { |
70 'defines': [ | 80 'defines': [ |
71 'GR_GL_FUNCTION_TYPE=__stdcall', | 81 'GR_GL_FUNCTION_TYPE=__stdcall', |
72 ], | 82 ], |
73 }], | 83 }], |
74 ], | 84 ], |
75 'include_dirs': [ | 85 'include_dirs': [ |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 'libraries': [ | 251 'libraries': [ |
242 '-lGLESv2', | 252 '-lGLESv2', |
243 '-lEGL', | 253 '-lEGL', |
244 ], | 254 ], |
245 }, | 255 }, |
246 }], | 256 }], |
247 ], | 257 ], |
248 }, | 258 }, |
249 ], | 259 ], |
250 } | 260 } |
OLD | NEW |