aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/gpu.gyp
diff options
context:
space:
mode:
authorGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-29 19:24:45 +0000
committerGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-29 19:24:45 +0000
commit42041e6de830c11f252aab072a6527bb28840468 (patch)
treed224c6eaf43f2d9e55bd8a29ee69354e820a6ec1 /gyp/gpu.gyp
parent82cb65ba18150e1ff5b6a0e78a8630d59d4d4af9 (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.gyp5
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': [