Exclude platform-specific files from other platforms

This commit is contained in:
Adam Roben 2013-05-22 11:37:42 -04:00
parent 1ec7280663
commit 3713ea6403

View file

@ -70,6 +70,11 @@
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
],
},
}, {
'sources/': [
['exclude', '/mac/'],
['exclude', '_mac\.(mm|h)$'],
],
}],
['OS=="win"', {
'link_settings': {
@ -79,6 +84,11 @@
'<(libchromiumcontent_library_dir)/sandbox_static.lib',
],
},
}, {
'sources/': [
['exclude', '/win/'],
['exclude', '_win\.(cc|h)$'],
],
}],
],
},