diff options
Diffstat (limited to 'gyp/gpu.gyp')
-rw-r--r-- | gyp/gpu.gyp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp index 631945607d..d40afe1a95 100644 --- a/gyp/gpu.gyp +++ b/gyp/gpu.gyp @@ -63,6 +63,16 @@ ], }, }], + [ 'skia_resource_cache_mb_limit != 0', { + 'defines': [ + 'GR_DEFAULT_RESOURCE_CACHE_MB_LIMIT=<(skia_resource_cache_mb_limit)', + ], + }], + [ 'skia_resource_cache_count_limit != 0', { + 'defines': [ + 'GR_DEFAULT_RESOURCE_CACHE_COUNT_LIMIT=<(skia_resource_cache_count_limit)', + ], + }], ], 'direct_dependent_settings': { 'conditions': [ |