Automatically exclude platform-specific files for all targets
This way embedding applications don't have to do this themselves, as long as they follow our naming conventions.
This commit is contained in:
parent
3070c6a723
commit
70af1f351f
2 changed files with 14 additions and 10 deletions
|
@ -72,11 +72,6 @@
|
||||||
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}, {
|
|
||||||
'sources/': [
|
|
||||||
['exclude', '/mac/'],
|
|
||||||
['exclude', '_mac\.(mm|h)$'],
|
|
||||||
],
|
|
||||||
}],
|
}],
|
||||||
['OS=="win"', {
|
['OS=="win"', {
|
||||||
'link_settings': {
|
'link_settings': {
|
||||||
|
@ -86,11 +81,6 @@
|
||||||
'<(libchromiumcontent_library_dir)/sandbox_static.lib',
|
'<(libchromiumcontent_library_dir)/sandbox_static.lib',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}, {
|
|
||||||
'sources/': [
|
|
||||||
['exclude', '/win/'],
|
|
||||||
['exclude', '_win\.(cc|h)$'],
|
|
||||||
],
|
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
|
@ -153,6 +153,20 @@
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'conditions': [
|
||||||
|
['OS!="mac"', {
|
||||||
|
'sources/': [
|
||||||
|
['exclude', '/mac/'],
|
||||||
|
['exclude', '_mac\.(mm|h)$'],
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
['OS!="win"', {
|
||||||
|
'sources/': [
|
||||||
|
['exclude', '/win/'],
|
||||||
|
['exclude', '_win\.(cc|h)$'],
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
],
|
||||||
},
|
},
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS=="win"', {
|
['OS=="win"', {
|
||||||
|
|
Loading…
Reference in a new issue