Index: ui/gfx/compositor/compositor.gyp |
diff --git a/ui/gfx/compositor/compositor.gyp b/ui/gfx/compositor/compositor.gyp |
index 98adcf82fbe96dad97eec3da18e9fac307a6e6e9..a959560eee3c476ed900895efd9b21ea38272db2 100644 |
--- a/ui/gfx/compositor/compositor.gyp |
+++ b/ui/gfx/compositor/compositor.gyp |
@@ -8,12 +8,12 @@ |
['exclude', '_(gl|win)\\.(cc?)$'], |
], |
'conditions': [ |
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [ |
- ['include', '_(gl)\\.cc$'], |
- ]}], |
- ['OS=="win"', {'sources/': [ |
- ['include', '_(win)\\.cc$'], |
- ]}], |
+ ['os_posix==1 and OS!="mac"', { |
+ 'sources/': [['include', '_(gl)\\.cc$'],] |
tony
2011/05/16 23:00:32
Yes, this is what I meant. Thanks!
|
+ }], |
+ ['OS=="win"', { |
+ 'sources/': [['include', '_(win)\\.cc$'],] |
+ }], |
], |
}, |
'targets': [ |
@@ -33,7 +33,7 @@ |
'compositor_gl.cc', |
], |
'conditions': [ |
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
+ ['os_posix==1 and OS!="mac"', { |
'sources!': [ |
'compositor.cc', |
], |