1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

gecko: unbreak WebRTC build on DragonFly

This commit is contained in:
Jan Beich 2016-07-09 04:57:43 +00:00
parent 9034459360
commit 0f4e53d864
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418261
5 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,22 @@
diff --git media/webrtc/trunk/build/filename_rules.gypi media/webrtc/trunk/build/filename_rules.gypi
index 844d5c5..7b16a15 100644
--- mozilla/media/webrtc/trunk/build/filename_rules.gypi
+++ mozilla/media/webrtc/trunk/build/filename_rules.gypi
@@ -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)$'],
],

View File

@ -0,0 +1,22 @@
diff --git media/webrtc/trunk/build/filename_rules.gypi media/webrtc/trunk/build/filename_rules.gypi
index 844d5c5..7b16a15 100644
--- media/webrtc/trunk/build/filename_rules.gypi
+++ media/webrtc/trunk/build/filename_rules.gypi
@@ -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)$'],
],

View File

@ -0,0 +1,22 @@
diff --git media/webrtc/trunk/build/filename_rules.gypi media/webrtc/trunk/build/filename_rules.gypi
index 844d5c5..7b16a15 100644
--- media/webrtc/trunk/build/filename_rules.gypi
+++ media/webrtc/trunk/build/filename_rules.gypi
@@ -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)$'],
],

View File

@ -0,0 +1,22 @@
diff --git media/webrtc/trunk/build/filename_rules.gypi media/webrtc/trunk/build/filename_rules.gypi
index 844d5c5..7b16a15 100644
--- media/webrtc/trunk/build/filename_rules.gypi
+++ media/webrtc/trunk/build/filename_rules.gypi
@@ -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)$'],
],

View File

@ -0,0 +1,22 @@
diff --git media/webrtc/trunk/build/filename_rules.gypi media/webrtc/trunk/build/filename_rules.gypi
index 844d5c5..7b16a15 100644
--- mozilla/media/webrtc/trunk/build/filename_rules.gypi
+++ mozilla/media/webrtc/trunk/build/filename_rules.gypi
@@ -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)$'],
],