summaryrefslogtreecommitdiff
path: root/gm.gyp
diff options
context:
space:
mode:
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-02 14:03:32 +0000
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-02 14:03:32 +0000
commitedb7a90972180c50ca81f9784e9c77eb29f82d6b (patch)
tree9e3ad1ef8146c0ff039b770303d1a52016f0175e /gm.gyp
parent679d8c30e7a2343102c00dbcd012b791d359e629 (diff)
downloadgyp-edb7a90972180c50ca81f9784e9c77eb29f82d6b.tar.gz
Create GPU-less build of Skia.
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@4912 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm.gyp')
-rw-r--r--gm.gyp14
1 files changed, 10 insertions, 4 deletions
diff --git a/gm.gyp b/gm.gyp
index 20fe09e..13f1976 100644
--- a/gm.gyp
+++ b/gm.gyp
@@ -10,7 +10,6 @@
'include_dirs' : [
'../src/core',
'../src/pipe/utils/',
- '../src/gpu',
],
'includes': [
'gmslides.gypi',
@@ -25,8 +24,6 @@
'dependencies': [
'core.gyp:core',
'effects.gyp:effects',
- 'gpu.gyp:gr',
- 'gpu.gyp:skgr',
'images.gyp:images',
'pdf.gyp:pdf',
'ports.gyp:ports',
@@ -52,7 +49,16 @@
'xps.gyp:xps',
],
}],
- ],
+ ['skia_gpu == 1', {
+ 'include_dirs': [
+ '../src/gpu',
+ ],
+ 'dependencies': [
+ 'gpu.gyp:gr',
+ 'gpu.gyp:skgr',
+ ],
+ }],
+ ],
},
],
}