Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: ui/gfx/compositor/compositor.gyp

Issue 7011032: Make the gyp files more cross-platform across the Unices (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: updated to trunk and fixed some nits Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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',
],

Powered by Google App Engine
This is Rietveld 408576698