summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi43
1 files changed, 24 insertions, 19 deletions
diff --git a/common.gypi b/common.gypi
index 48b9a6d..2a5bbd4 100644
--- a/common.gypi
+++ b/common.gypi
@@ -88,25 +88,30 @@
],
},
],
+ [ 'skia_android_framework==0', {
+ # These defines are not used for skia_android_framework, where we build
+ # one makefile and allow someone to add SK_DEBUG etc for their own
+ # debugging purposes.
+ 'configurations': {
+ 'Debug': {
+ 'defines': [
+ 'SK_DEBUG',
+ 'SK_DEVELOPER=1',
+ ],
+ },
+ 'Release': {
+ 'defines': [
+ 'SK_RELEASE',
+ ],
+ },
+ 'Release_Developer': {
+ 'inherit_from': ['Release'],
+ 'defines': [
+ 'SK_DEVELOPER=1',
+ ],
+ },
+ },
+ }],
],
- 'configurations': {
- 'Debug': {
- 'defines': [
- 'SK_DEBUG',
- 'SK_DEVELOPER=1',
- ],
- },
- 'Release': {
- 'defines': [
- 'SK_RELEASE',
- ],
- },
- 'Release_Developer': {
- 'inherit_from': ['Release'],
- 'defines': [
- 'SK_DEVELOPER=1',
- ],
- },
- },
}, # end 'target_defaults'
}