mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1677715 - Regenerate moz.build files; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D97433
This commit is contained in:
parent
71228df43f
commit
553093ff0f
@ -5,6 +5,8 @@
|
||||
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
||||
CXXFLAGS += CONFIG["TK_CFLAGS"]
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
@ -25,8 +27,7 @@ LOCAL_INCLUDES += [
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/libyuv/libyuv/include/",
|
||||
"/third_party/libwebrtc/webrtc/",
|
||||
"/third_party/pipewire"
|
||||
"/third_party/libwebrtc/webrtc/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
@ -162,7 +163,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_USE_PIPEWIRE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt",
|
||||
@ -195,14 +195,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/window_capturer_linux.cc"
|
||||
]
|
||||
|
||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc",
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
@ -393,6 +385,17 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/third_party/pipewire/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc",
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
@ -400,6 +403,32 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/third_party/pipewire/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc",
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/third_party/pipewire/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc",
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/screen_capturer_pipewire.cc",
|
||||
"/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/window_capturer_pipewire.cc"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
3
third_party/libwebrtc/webrtc/moz.build
vendored
3
third_party/libwebrtc/webrtc/moz.build
vendored
@ -186,9 +186,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
"/third_party/libwebrtc/webrtc/modules/video_capture/video_capture_internal_impl_gn",
|
||||
"/third_party/libwebrtc/webrtc/system_wrappers/cpu_features_linux_gn"
|
||||
]
|
||||
DIRS += [
|
||||
"/third_party/pipewire/libpipewire"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user