aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-12 20:56:52 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-12 20:56:52 +0000
commit9f169a4b01483b83880a1f8aa4d7a69790c2c8e8 (patch)
tree2c1418a64f33868b31e3205125a7f32446dbc4d8 /gyp
parent5db3b6cce4e9e02415a0a31d95666c044c953ac2 (diff)
Add gyp variable to disable OSAA
Review URL: http://codereview.appspot.com/5539047 git-svn-id: http://skia.googlecode.com/svn/trunk@3033 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r--gyp/gpu.gyp10
1 files changed, 10 insertions, 0 deletions
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp
index 454204d990..d16d797a88 100644
--- a/gyp/gpu.gyp
+++ b/gyp/gpu.gyp
@@ -1,4 +1,9 @@
{
+ 'variables': {
+ 'skia_gpu_disable_osaa%': 0,
+ },
+ 'skia_gpu_disable_osaa': '<(skia_gpu_disable_osaa)',
+
'includes': [
'common.gypi',
],
@@ -282,6 +287,11 @@
'GR_IMPLEMENTATION=1',
],
'conditions': [
+ [ 'skia_gpu_disable_osaa', {
+ 'defines': [
+ 'GR_USE_OFFSCREEN_AA=0',
+ ],
+ }],
[ 'skia_os == "linux"', {
'sources!': [
'../src/gpu/GrGLDefaultInterface_none.cpp',