Bug 1925119 - add dcsctp to libwebrtc build - moz.build file updates r=bwc,ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225893
This commit is contained in:
2
CLOBBER
2
CLOBBER
@@ -22,4 +22,4 @@
|
||||
# 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 1924098 - Vendor libwebrtc from 76aa330c24
|
||||
Modified build files in third_party/libwebrtc - Bug 1925119 - add dcsctp to libwebrtc build. r?bwc!
|
||||
|
||||
209
third_party/libwebrtc/dcsctp_gn/moz.build
vendored
Normal file
209
third_party/libwebrtc/dcsctp_gn/moz.build
vendored
Normal file
@@ -0,0 +1,209 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("dcsctp_gn")
|
||||
40
third_party/libwebrtc/moz.build
vendored
40
third_party/libwebrtc/moz.build
vendored
@@ -153,6 +153,7 @@ DIRS += [
|
||||
"/third_party/libwebrtc/common_video/frame_counts_gn",
|
||||
"/third_party/libwebrtc/common_video/frame_instrumentation_data_gn",
|
||||
"/third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn",
|
||||
"/third_party/libwebrtc/dcsctp_gn",
|
||||
"/third_party/libwebrtc/experiments/registered_field_trials_gn",
|
||||
"/third_party/libwebrtc/experiments/registered_field_trials_header_gn",
|
||||
"/third_party/libwebrtc/logging/rtc_event_audio_gn",
|
||||
@@ -328,6 +329,41 @@ DIRS += [
|
||||
"/third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn",
|
||||
"/third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn",
|
||||
"/third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/common/internal_types_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/common/math_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/crc32c_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/data_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/public/factory_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/public/socket_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/public/types_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/context_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/timer/timer_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/send_queue_gn",
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn",
|
||||
"/third_party/libwebrtc/rtc_base/async_dns_resolver_gn",
|
||||
"/third_party/libwebrtc/rtc_base/async_packet_socket_gn",
|
||||
"/third_party/libwebrtc/rtc_base/audio_format_to_string_gn",
|
||||
@@ -428,6 +464,10 @@ DIRS += [
|
||||
"/third_party/libwebrtc/system_wrappers/system_wrappers_gn",
|
||||
"/third_party/libwebrtc/test/network/simulated_network_gn",
|
||||
"/third_party/libwebrtc/test/rtp_test_utils_gn",
|
||||
"/third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn",
|
||||
"/third_party/libwebrtc/third_party/crc32c/crc32c_gn",
|
||||
"/third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn",
|
||||
"/third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn",
|
||||
"/third_party/libwebrtc/third_party/libyuv/libyuv_gn",
|
||||
"/third_party/libwebrtc/third_party/pffft/pffft_gn",
|
||||
"/third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn",
|
||||
|
||||
202
third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
vendored
Normal file
202
third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("internal_types_gn")
|
||||
198
third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
vendored
Normal file
198
third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
vendored
Normal file
@@ -0,0 +1,198 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("math_gn")
|
||||
202
third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
vendored
Normal file
202
third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("sequence_numbers_gn")
|
||||
202
third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
vendored
Normal file
202
third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("bounded_io_gn")
|
||||
244
third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
vendored
Normal file
244
third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
vendored
Normal file
@@ -0,0 +1,244 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/abort_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/cookie_ack_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/cookie_echo_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/data_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/error_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/forward_tsn_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/heartbeat_ack_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/heartbeat_request_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/idata_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/iforward_tsn_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/init_ack_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/init_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/reconfig_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/sack_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/shutdown_ack_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/shutdown_chunk.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk/shutdown_complete_chunk.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("chunk_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/chunk_validators.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("chunk_validators_gn")
|
||||
220
third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
vendored
Normal file
220
third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
vendored
Normal file
@@ -0,0 +1,220 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/crc32c.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("crc32c_gn")
|
||||
202
third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
vendored
Normal file
202
third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("data_gn")
|
||||
240
third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
vendored
Normal file
240
third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
vendored
Normal file
@@ -0,0 +1,240 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/cookie_received_while_shutting_down_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/error_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/invalid_mandatory_parameter_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/invalid_stream_identifier_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/missing_mandatory_parameter_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/no_user_data_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/out_of_resource_error_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/protocol_violation_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/restart_of_an_association_with_new_address_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/stale_cookie_error_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/unrecognized_chunk_type_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/unrecognized_parameter_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/unresolvable_address_cause.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/error_cause/user_initiated_abort_cause.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("error_cause_gn")
|
||||
238
third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
vendored
Normal file
238
third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
vendored
Normal file
@@ -0,0 +1,238 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/add_incoming_streams_request_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/add_outgoing_streams_request_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/forward_tsn_supported_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/heartbeat_info_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/incoming_ssn_reset_request_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/outgoing_ssn_reset_request_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/reconfiguration_response_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/ssn_tsn_reset_request_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/state_cookie_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/supported_extensions_parameter.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/parameter/zero_checksum_acceptable_chunk_parameter.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("parameter_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/sctp_packet.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("sctp_packet_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/packet/tlv_trait.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("tlv_trait_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/public/dcsctp_socket_factory.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("factory_gn")
|
||||
220
third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
vendored
Normal file
220
third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
vendored
Normal file
@@ -0,0 +1,220 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/public/dcsctp_handover_state.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("socket_gn")
|
||||
202
third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
vendored
Normal file
202
third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("types_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/rx/data_tracker.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("data_tracker_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("interleaved_reassembly_streams_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/rx/reassembly_queue.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("reassembly_queue_gn")
|
||||
209
third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
vendored
Normal file
209
third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
vendored
Normal file
@@ -0,0 +1,209 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("reassembly_streams_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("traditional_reassembly_streams_gn")
|
||||
209
third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
vendored
Normal file
209
third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
vendored
Normal file
@@ -0,0 +1,209 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("context_gn")
|
||||
229
third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
vendored
Normal file
229
third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
vendored
Normal file
@@ -0,0 +1,229 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/callback_deferrer.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket.cc",
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/state_cookie.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("dcsctp_socket_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("heartbeat_handler_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/packet_sender.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("packet_sender_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("stream_reset_handler_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/socket/transmission_control_block.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("transmission_control_block_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("task_queue_timeout_gn")
|
||||
220
third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
vendored
Normal file
220
third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
vendored
Normal file
@@ -0,0 +1,220 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/timer/timer.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("timer_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/outstanding_data.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("outstanding_data_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("retransmission_error_counter_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/retransmission_queue.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("retransmission_queue_gn")
|
||||
220
third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
vendored
Normal file
220
third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
vendored
Normal file
@@ -0,0 +1,220 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("retransmission_timeout_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/rr_send_queue.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("rr_send_queue_gn")
|
||||
209
third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
vendored
Normal file
209
third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
vendored
Normal file
@@ -0,0 +1,209 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("send_queue_gn")
|
||||
227
third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
vendored
Normal file
227
third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# 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_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
|
||||
DEFINES["RTC_ENABLE_VP9"] = True
|
||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
|
||||
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/net/dcsctp/tx/stream_scheduler.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["RTC_ENABLE_WIN_WGC"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"crypt32",
|
||||
"iphlpapi",
|
||||
"secur32",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["MIPS32_LE"] = True
|
||||
DEFINES["MIPS_FPU_LE"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["WEBRTC_ENABLE_AVX2"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("stream_scheduler_gn")
|
||||
213
third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build
vendored
Normal file
213
third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
# 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["BYTE_ORDER_BIG_ENDIAN"] = "0"
|
||||
DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0"
|
||||
DEFINES["HAVE_ARM64_CRC32C"] = "0"
|
||||
DEFINES["HAVE_BUILTIN_PREFETCH"] = "1"
|
||||
DEFINES["HAVE_SSE42"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/crc32c/config/",
|
||||
"/third_party/libwebrtc/third_party/crc32c/src/include/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/crc32c/src/src/crc32c_arm64.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "1"
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "0"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "0"
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "1"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "1"
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "0"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "0"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "0"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "0"
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "ppc64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "riscv64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "1"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "1"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("crc32c_arm64_gn")
|
||||
214
third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build
vendored
Normal file
214
third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build
vendored
Normal file
@@ -0,0 +1,214 @@
|
||||
# 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["BYTE_ORDER_BIG_ENDIAN"] = "0"
|
||||
DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0"
|
||||
DEFINES["HAVE_ARM64_CRC32C"] = "0"
|
||||
DEFINES["HAVE_BUILTIN_PREFETCH"] = "1"
|
||||
DEFINES["HAVE_SSE42"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/crc32c/config/",
|
||||
"/third_party/libwebrtc/third_party/crc32c/src/include/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/crc32c/src/src/crc32c.cc",
|
||||
"/third_party/libwebrtc/third_party/crc32c/src/src/crc32c_portable.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "1"
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "0"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "0"
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "1"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "1"
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "0"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "0"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "0"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "0"
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "ppc64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "riscv64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "1"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "1"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("crc32c_gn")
|
||||
151
third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build
vendored
Normal file
151
third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build
vendored
Normal file
@@ -0,0 +1,151 @@
|
||||
# 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()
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("crc32c_internal_headers_gn")
|
||||
213
third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build
vendored
Normal file
213
third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
# 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["BYTE_ORDER_BIG_ENDIAN"] = "0"
|
||||
DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0"
|
||||
DEFINES["HAVE_ARM64_CRC32C"] = "0"
|
||||
DEFINES["HAVE_BUILTIN_PREFETCH"] = "1"
|
||||
DEFINES["HAVE_SSE42"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/crc32c/config/",
|
||||
"/third_party/libwebrtc/third_party/crc32c/src/include/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/crc32c/src/src/crc32c_sse42.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"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "1"
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "0"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "0"
|
||||
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
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "1"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "1"
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "0"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "0"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["HAVE_STRONG_GETAUXVAL"] = "0"
|
||||
DEFINES["HAVE_WEAK_GETAUXVAL"] = "0"
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "ppc64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "riscv64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "0"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "1"
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["HAVE_MM_PREFETCH"] = "1"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("crc32c_sse42_gn")
|
||||
Reference in New Issue
Block a user