Skip to content

Commit

Permalink
Backed out changeset 2fa9fd80ad28 (bug 1680975) for causing build bus…
Browse files Browse the repository at this point in the history
…tages on CubebUtils.cpp CLOSED TREE
  • Loading branch information
Bogdan Szekely committed Jul 12, 2022
1 parent f17ba6b commit 980eeae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions dom/media/CubebUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#include "prdtoa.h"
#include <algorithm>
#include <stdint.h>
#include <unistd.h>

#ifdef MOZ_WIDGET_ANDROID
# include "mozilla/java/GeckoAppShellWrappers.h"
#endif
Expand Down Expand Up @@ -64,8 +62,7 @@
#define PREF_AUDIOIPC_SHM_AREA_SIZE "media.audioipc.shm_area_size"

#if (defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID)) || \
defined(XP_MACOSX) || defined(XP_FREEBSD) || \
(defined(XP_WIN) && !defined(_ARM64_))
defined(XP_MACOSX) || (defined(XP_WIN) && !defined(_ARM64_))
# define MOZ_CUBEB_REMOTING
#endif

Expand Down
2 changes: 1 addition & 1 deletion toolkit/library/rust/gkrust-features.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if CONFIG['MOZ_RUST_SIMD']:

# This feature is not yet supported on all platforms, and this check needs to
# match MOZ_CUBEB_REMOTING in CubebUtils.cpp.
if (CONFIG['OS_ARCH'] == 'Linux' and CONFIG['OS_TARGET'] != 'Android') or CONFIG['OS_ARCH'] == 'Darwin' or CONFIG['OS_ARCH'] == 'FreeBSD' or (CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['CPU_ARCH'] != 'aarch64'):
if (CONFIG['OS_ARCH'] == 'Linux' and CONFIG['OS_TARGET'] != 'Android') or CONFIG['OS_ARCH'] == 'Darwin' or (CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['CPU_ARCH'] != 'aarch64'):
gkrust_features += ['cubeb-remoting']

if CONFIG['MOZ_MEMORY']:
Expand Down

0 comments on commit 980eeae

Please sign in to comment.