Bug 1285501 - Build linux/ directory on DragonFly, NetBSD and Solaris as well. r=jesup

MozReview-Commit-ID: 46Z55h9oWIm

--HG--
extra : transplant_source : %AE%E7%0D%9EHg%84%17Z%07%7D%12%95%C1A3%F5%ECw%A1
This commit is contained in:
Jan Beich 2016-07-08 09:27:08 +00:00
parent 06e846446b
commit 71ac49183e

View File

@ -29,7 +29,7 @@
# In case a file is not needed, it is going to be excluded later on.
# TODO(evan): the above is not correct; we shouldn't build _linux
# files on non-linux.
['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)==1', {
['OS!="linux" and OS!="solaris" and <(os_bsd)!=1 or >(nacl_untrusted_build)==1', {
'sources/': [
['exclude', '_linux(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)linux/'],
@ -55,7 +55,7 @@
['exclude', '_nacl(_unittest)?\\.(h|cc)$'],
],
}],
['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)==1', {
['OS!="linux" and OS!="solaris" and <(os_bsd)!=1 or >(nacl_untrusted_build)==1', {
'sources/': [
['exclude', '_xdg(_unittest)?\\.(h|cc)$'],
],