mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
Exclude platform-specific files from other platforms
This commit is contained in:
@@ -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)$'],
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user