Index: ui/gfx/compositor/compositor.gyp |
diff --git a/ui/gfx/compositor/compositor.gyp b/ui/gfx/compositor/compositor.gyp |
index 98adcf82fbe96dad97eec3da18e9fac307a6e6e9..8a6f66ab8b0d47727e6ba78dd67333590a508431 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$'],] |
+ }], |
+ ['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', |
], |