Index: gyp/gpu.gyp |
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp |
index 631945607dbd3b105b803ebff9a2e6df1203b93c..d40afe1a95affbed031beb554db41ed23b827d70 100644 |
--- a/gyp/gpu.gyp |
+++ b/gyp/gpu.gyp |
@@ -62,6 +62,16 @@ |
['exclude', '.*'], |
], |
}, |
+ }], |
+ [ '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': { |