diff options
author | 2012-10-29 19:24:45 +0000 | |
---|---|---|
committer | 2012-10-29 19:24:45 +0000 | |
commit | 42041e6de830c11f252aab072a6527bb28840468 (patch) | |
tree | d224c6eaf43f2d9e55bd8a29ee69354e820a6ec1 /gyp/gpu.gyp | |
parent | 82cb65ba18150e1ff5b6a0e78a8630d59d4d4af9 (diff) |
Allow default texture cache limit to be set within gyp.
Review URL: https://codereview.appspot.com/6818051
git-svn-id: http://skia.googlecode.com/svn/trunk@6177 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp/gpu.gyp')
-rw-r--r-- | gyp/gpu.gyp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp index 0dc84eeaf8..9cb06980d3 100644 --- a/gyp/gpu.gyp +++ b/gyp/gpu.gyp @@ -71,6 +71,11 @@ ], }, }], + [ 'skia_texture_cache_mb_limit != 0', { + 'defines': [ + 'GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT=<(skia_texture_cache_mb_limit)', + ], + }], ], 'direct_dependent_settings': { 'conditions': [ |