зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1766646 - Vendor libwebrtc from 7284bd4dab - moz.build file updates
This commit is contained in:
Родитель
1245d11304
Коммит
6a99f8c47b
2
CLOBBER
2
CLOBBER
|
@ -22,5 +22,5 @@
|
|||
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
|
||||
# don't change CLOBBER for WebIDL changes any more.
|
||||
|
||||
Modified build files in third_party/libwebrtc - Bug 1766646 - Vendor libwebrtc from e1e05afec7
|
||||
Modified build files in third_party/libwebrtc - Bug 1766646 - Vendor libwebrtc from 7284bd4dab
|
||||
|
||||
|
|
|
@ -425,7 +425,9 @@ if CONFIG["OS_TARGET"] == "Darwin":
|
|||
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
|
||||
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn",
|
||||
"/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
|
||||
"/third_party/libwebrtc/rtc_base/rtc_task_queue_gcd_gn",
|
||||
"/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn",
|
||||
"/third_party/libwebrtc/rtc_base/system/gcd_helpers_gn",
|
||||
"/third_party/libwebrtc/sdk/base_objc_gn",
|
||||
"/third_party/libwebrtc/sdk/helpers_objc_gn"
|
||||
]
|
||||
|
|
|
@ -0,0 +1,57 @@
|
|||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/rtc_base/task_queue_gcd.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
Library("rtc_task_queue_gcd_gn")
|
|
@ -0,0 +1,57 @@
|
|||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/rtc_base/system/gcd_helpers.m"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
Library("gcd_helpers_gn")
|
Загрузка…
Ссылка в новой задаче