summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-02 20:42:26 +0000
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-02 20:42:26 +0000
commit9e0afa819e61de4ce7d93b32f21d25fe4995f8cf (patch)
treea4495e586b78cd42f322cd1a32fc4e4af5f93125 /common.gypi
parenta8fe647ee8cf2397ce4e4fd59adc6a3e029aed64 (diff)
downloadgyp-9e0afa819e61de4ce7d93b32f21d25fe4995f8cf.tar.gz
Delivering .gyp files to enable building & linking w/ ANGLE on Windows
http://codereview.appspot.com/5933057/ git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@3580 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi13
1 files changed, 13 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index ad684c2..a9b274d 100644
--- a/common.gypi
+++ b/common.gypi
@@ -21,6 +21,9 @@
{'error': '<!(Cannot build with skia_os=<(skia_os) on OS=<(OS))'}],
['skia_mesa and skia_os not in ["mac", "linux"]',
{'error': '<!(skia_mesa=1 only supported with skia_os="mac" or "linux".)'}],
+ ['skia_angle and not skia_os == "win"',
+ {'error': '<!(skia_angle=1 only supported with skia_os="win".)'
+ }],
],
},
'includes': [
@@ -50,6 +53,16 @@
],
},
}],
+ [ 'skia_angle', {
+ 'defines': [
+ 'SK_ANGLE',
+ ],
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'SK_ANGLE',
+ ],
+ },
+ }],
],
'configurations': {
'Debug': {