Bug 1393119 - Add generated files; r=jesup

MozReview-Commit-ID: 379Yq1cIQyD

--HG--
extra : source : eac997d73d67f5b8e895fcfd61b02796e9bf6bba
This commit is contained in:
Dan Minor 2017-12-01 12:44:51 -05:00
parent 15ab7b52c6
commit 8528588995
108 changed files with 155727 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,153 @@
# 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. ###
DIRS += [
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn",
"/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn",
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn",
"/media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_gn",
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn",
"/media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn",
"/media/webrtc/trunk/webrtc/common_video/common_video_gn",
"/media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn",
"/media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn",
"/media/webrtc/trunk/webrtc/call/call_gn",
"/media/webrtc/trunk/webrtc/modules/media_file/media_file_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn",
"/media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn",
"/media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn",
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn",
"/media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn",
"/media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn",
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn",
"/media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn",
"/media/webrtc/trunk/webrtc/modules/utility/utility_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn",
"/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn",
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn",
"/media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn",
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn",
"/media/webrtc/trunk/webrtc/api/transport_api_gn",
"/media/webrtc/trunk/webrtc/api/audio_mixer_api_gn",
"/media/webrtc/trunk/webrtc/api/video_frame_api_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn",
"/media/webrtc/trunk/webrtc/audio/audio_gn",
"/media/webrtc/trunk/webrtc/api/call_api_gn",
"/media/webrtc/trunk/webrtc/webrtc_common_gn",
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn",
"/media/webrtc/trunk/webrtc/base/rtc_numerics_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn",
"/media/webrtc/trunk/webrtc/base/gtest_prod_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn",
"/media/webrtc/trunk/webrtc/voice_engine/file_player_gn",
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn",
"/media/webrtc/trunk/webrtc/base/rtc_task_queue_gn",
"/media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn",
"/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn",
"/media/webrtc/trunk/webrtc/modules/pacing/pacing_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn",
"/media/webrtc/trunk/webrtc/call/call_interfaces_gn",
"/media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn",
"/media/webrtc/trunk/webrtc/base/rtc_base_approved_gn",
"/media/webrtc/trunk/webrtc/webrtc_gn",
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn",
"/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn",
"/media/webrtc/trunk/webrtc/video/video_gn",
"/media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn",
"/media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn"
]
if CONFIG["OS_TARGET"] == "WINNT":
DIRS += [
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn"
]
if CONFIG["OS_TARGET"] == "Linux":
DIRS += [
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
"/media/webrtc/trunk/webrtc/system_wrappers/cpu_features_linux_gn",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn"
]
if CONFIG["OS_TARGET"] == "Darwin":
DIRS += [
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
"/media/webrtc/trunk/webrtc/modules/audio_device/mac_portaudio_gn",
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn"
]
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
DIRS += [
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn"
]
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
DIRS += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn",
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn"
]
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
DIRS += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn",
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn",
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn"
]

View File

@ -0,0 +1,135 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_mixer_api_gn")

View File

@ -0,0 +1,135 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("call_api_gn")

View File

@ -0,0 +1,131 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("transport_api_gn")

View File

@ -0,0 +1,157 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/api/video/i420_buffer.cc",
"/media/webrtc/trunk/webrtc/api/video/video_frame.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/libyuv/libyuv/include/",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("video_frame_api_gn")

View File

@ -0,0 +1,184 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/audio/audio_receive_stream.cc",
"/media/webrtc/trunk/webrtc/audio/audio_send_stream.cc",
"/media/webrtc/trunk/webrtc/audio/audio_state.cc",
"/media/webrtc/trunk/webrtc/audio/audio_transport_proxy.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/include/",
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/",
"/media/webrtc/trunk/webrtc/modules/audio_device/include/",
"/media/webrtc/trunk/webrtc/modules/include/",
"/media/webrtc/trunk/webrtc/modules/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"amstrmid",
"dmoguids",
"msdmo",
"winmm",
"wmcodecdspuuid"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"dl",
"m",
"rt",
"X11"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log",
"OpenSLES"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework ApplicationServices",
"-framework AudioToolbox",
"-framework CoreAudio",
"-framework CoreGraphics",
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_gn")

View File

@ -0,0 +1,147 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_frame_operations_gn")

View File

@ -0,0 +1,131 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("gtest_prod_gn")

View File

@ -0,0 +1,194 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/base64.cc",
"/media/webrtc/trunk/webrtc/base/bitbuffer.cc",
"/media/webrtc/trunk/webrtc/base/bufferqueue.cc",
"/media/webrtc/trunk/webrtc/base/bytebuffer.cc",
"/media/webrtc/trunk/webrtc/base/checks.cc",
"/media/webrtc/trunk/webrtc/base/copyonwritebuffer.cc",
"/media/webrtc/trunk/webrtc/base/criticalsection.cc",
"/media/webrtc/trunk/webrtc/base/event.cc",
"/media/webrtc/trunk/webrtc/base/event_tracer.cc",
"/media/webrtc/trunk/webrtc/base/file.cc",
"/media/webrtc/trunk/webrtc/base/flags.cc",
"/media/webrtc/trunk/webrtc/base/location.cc",
"/media/webrtc/trunk/webrtc/base/logging.cc",
"/media/webrtc/trunk/webrtc/base/md5.cc",
"/media/webrtc/trunk/webrtc/base/md5digest.cc",
"/media/webrtc/trunk/webrtc/base/optional.cc",
"/media/webrtc/trunk/webrtc/base/pathutils.cc",
"/media/webrtc/trunk/webrtc/base/platform_file.cc",
"/media/webrtc/trunk/webrtc/base/platform_thread.cc",
"/media/webrtc/trunk/webrtc/base/race_checker.cc",
"/media/webrtc/trunk/webrtc/base/random.cc",
"/media/webrtc/trunk/webrtc/base/rate_limiter.cc",
"/media/webrtc/trunk/webrtc/base/rate_statistics.cc",
"/media/webrtc/trunk/webrtc/base/ratetracker.cc",
"/media/webrtc/trunk/webrtc/base/stringencode.cc",
"/media/webrtc/trunk/webrtc/base/stringutils.cc",
"/media/webrtc/trunk/webrtc/base/thread_checker_impl.cc",
"/media/webrtc/trunk/webrtc/base/timestampaligner.cc",
"/media/webrtc/trunk/webrtc/base/timeutils.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/file_win.cc",
"/media/webrtc/trunk/webrtc/base/win32.cc"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/file_posix.cc"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/file_posix.cc"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/file_posix.cc",
"/media/webrtc/trunk/webrtc/base/logging_mac.mm",
"/media/webrtc/trunk/webrtc/base/macutils.cc"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("rtc_base_approved_gn")

View File

@ -0,0 +1,147 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/numerics/exp_filter.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("rtc_numerics_gn")

View File

@ -0,0 +1,179 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/sequenced_task_checker_impl.cc",
"/media/webrtc/trunk/webrtc/base/weak_ptr.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/task_queue_win.cc"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
LOCAL_INCLUDES += [
"/ipc/chromium/src/third_party/libevent/include/",
"/ipc/chromium/src/third_party/libevent/linux/"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc",
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
LOCAL_INCLUDES += [
"/ipc/chromium/src/third_party/libevent/include/",
"/ipc/chromium/src/third_party/libevent/linux/"
]
OS_LIBS += [
"log"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc",
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/base/task_queue_gcd.cc",
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("rtc_task_queue_gn")

View File

@ -0,0 +1,175 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/call/bitrate_allocator.cc",
"/media/webrtc/trunk/webrtc/call/call.cc",
"/media/webrtc/trunk/webrtc/call/flexfec_receive_stream_impl.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"amstrmid",
"dmoguids",
"msdmo",
"winmm",
"wmcodecdspuuid"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"dl",
"m",
"rt",
"X11"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log",
"OpenSLES"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework ApplicationServices",
"-framework AudioToolbox",
"-framework CoreAudio",
"-framework CoreGraphics",
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("call_gn")

View File

@ -0,0 +1,143 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/call/audio_send_stream_call.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("call_interfaces_gn")

View 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/fft4g.c",
"/media/webrtc/trunk/webrtc/common_audio/ring_buffer.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/auto_corr_to_refl_coef.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/auto_correlation.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_fft.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/copy_set_operations.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/cross_correlation.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/division_operations.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/dot_product_with_scale.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/downsample_fast.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/energy.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ma_fast_q12.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/get_hanning_window.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/get_scaling_square.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/ilbc_specific_functions.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/levinson_durbin.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/lpc_to_refl_coef.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/min_max_operations.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/randomization_functions.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/real_fft.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/refl_coef_to_lpc.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/resample.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/resample_48khz.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/resample_by_2.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/resample_by_2_internal.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/resample_fractional.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_init.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_inl.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/splitting_filter.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/sqrt_of_one_minus_x_squared.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/vector_scaling_operations.c",
"/media/webrtc/trunk/webrtc/common_audio/vad/vad_filterbank.c",
"/media/webrtc/trunk/webrtc/common_audio/vad/vad_gmm.c",
"/media/webrtc/trunk/webrtc/common_audio/vad/vad_sp.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/vad/vad_core.c",
"/media/webrtc/trunk/webrtc/common_audio/vad/webrtc_vad.c"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse_arm.S",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12_armv7.S",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor_arm.S"
]
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
]
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse_arm.S",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12_armv7.S",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor_arm.S"
]
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
]
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
]
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
]
Library("common_audio_c_gn")

View File

@ -0,0 +1,176 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/audio_converter.cc",
"/media/webrtc/trunk/webrtc/common_audio/audio_ring_buffer.cc",
"/media/webrtc/trunk/webrtc/common_audio/audio_util.cc",
"/media/webrtc/trunk/webrtc/common_audio/blocker.cc",
"/media/webrtc/trunk/webrtc/common_audio/channel_buffer.cc",
"/media/webrtc/trunk/webrtc/common_audio/fir_filter.cc",
"/media/webrtc/trunk/webrtc/common_audio/lapped_transform.cc",
"/media/webrtc/trunk/webrtc/common_audio/real_fourier.cc",
"/media/webrtc/trunk/webrtc/common_audio/real_fourier_ooura.cc",
"/media/webrtc/trunk/webrtc/common_audio/resampler/push_resampler.cc",
"/media/webrtc/trunk/webrtc/common_audio/resampler/push_sinc_resampler.cc",
"/media/webrtc/trunk/webrtc/common_audio/resampler/resampler.cc",
"/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler.cc",
"/media/webrtc/trunk/webrtc/common_audio/smoothing_filter.cc",
"/media/webrtc/trunk/webrtc/common_audio/sparse_fir_filter.cc",
"/media/webrtc/trunk/webrtc/common_audio/vad/vad.cc",
"/media/webrtc/trunk/webrtc/common_audio/wav_file.cc",
"/media/webrtc/trunk/webrtc/common_audio/wav_header.cc",
"/media/webrtc/trunk/webrtc/common_audio/window_generator.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("common_audio_gn")

View File

@ -0,0 +1,87 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/cross_correlation_neon.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/downsample_fast_neon.c",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/min_max_operations_neon.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
DEFINES["WEBRTC_POSIX"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["_FORTIFY_SOURCE"] = "2"
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM64"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("common_audio_neon_c_gn")

View File

@ -0,0 +1,86 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/fir_filter_neon.cc",
"/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler_neon.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
DEFINES["WEBRTC_POSIX"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["_FORTIFY_SOURCE"] = "2"
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM64"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("common_audio_neon_gn")

View File

@ -0,0 +1,114 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_audio/fir_filter_sse.cc",
"/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler_sse.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
Library("common_audio_sse2_gn")

View File

@ -0,0 +1,180 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_video/bitrate_adjuster.cc",
"/media/webrtc/trunk/webrtc/common_video/h264/h264_bitstream_parser.cc",
"/media/webrtc/trunk/webrtc/common_video/h264/h264_common.cc",
"/media/webrtc/trunk/webrtc/common_video/h264/pps_parser.cc",
"/media/webrtc/trunk/webrtc/common_video/h264/profile_level_id.cc",
"/media/webrtc/trunk/webrtc/common_video/h264/sps_parser.cc",
"/media/webrtc/trunk/webrtc/common_video/h264/sps_vui_rewriter.cc",
"/media/webrtc/trunk/webrtc/common_video/i420_buffer_pool.cc",
"/media/webrtc/trunk/webrtc/common_video/incoming_video_stream.cc",
"/media/webrtc/trunk/webrtc/common_video/libyuv/webrtc_libyuv.cc",
"/media/webrtc/trunk/webrtc/common_video/video_frame.cc",
"/media/webrtc/trunk/webrtc/common_video/video_frame_buffer.cc",
"/media/webrtc/trunk/webrtc/common_video/video_render_frames.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/libyuv/libyuv/include/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/common_video/corevideo_frame_buffer.cc"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("common_video_gn")

View File

@ -0,0 +1,131 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("rtc_event_log_api_gn")

View File

@ -0,0 +1,162 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/logging/rtc_event_log/rtc_event_log.cc",
"/media/webrtc/trunk/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("rtc_event_log_impl_gn")

View File

@ -0,0 +1,145 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/media/base/videoadapter.cc",
"/media/webrtc/trunk/webrtc/media/base/videobroadcaster.cc",
"/media/webrtc/trunk/webrtc/media/base/videosourcebase.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("mozilla_rtc_media_gn")

View File

@ -0,0 +1,173 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receiver.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_resampler.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/audio_coding_module.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/call_statistics.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/include/",
"/media/webrtc/trunk/webrtc/modules/include/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/codec_manager.cc"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_CODEC_G722"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_coding_gn")

View File

@ -0,0 +1,135 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_decoder_factory_interface_gn")

View File

@ -0,0 +1,148 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_decoder.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_decoder_interface_gn")

View File

@ -0,0 +1,147 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_encoder.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_encoder_interface_gn")

View File

@ -0,0 +1,147 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_format_conversion.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_format_conversion_gn")

View File

@ -0,0 +1,143 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_format.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_format_gn")

View File

@ -0,0 +1,167 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/channel_controller.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/controller.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/debug_dump_writer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/dtx_controller.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_network_adaptor_gn")

View File

@ -0,0 +1,161 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_CODEC_G722"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("builtin_audio_decoder_factory_gn")

View File

@ -0,0 +1,160 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("cng_gn")

View File

@ -0,0 +1,144 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/g711.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/g711_interface.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("g711_c_gn")

View File

@ -0,0 +1,149 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("g711_gn")

View File

@ -0,0 +1,148 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/g722_interface.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/g722_decode.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/g722_encode.c"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("g722_c_gn")

View File

@ -0,0 +1,149 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("g722_gn")

View File

@ -0,0 +1,188 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/crc.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/decode.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/decode_bwe.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/encode.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/encode_lpc_swb.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/entropy_coding.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/fft.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/filterbank_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/filterbanks.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/intialize.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/isac.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/lattice.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_analysis.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_gain_swb_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb12_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_shape_swb16_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/lpc_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/pitch_estimator.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/pitch_filter.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/pitch_gain_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/pitch_lag_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/spectrum_ar_model_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/transform.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"m",
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("isac_c_gn")

View File

@ -0,0 +1,147 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("isac_common_gn")

View File

@ -0,0 +1,258 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_logist.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/bandwidth_estimator.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_bwe.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/decode_plc.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/encode.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/fft.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filters.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/initialize.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator_c.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_gain_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_lag_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/spectrum_ar_model_tables.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/transform.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_tables.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
]
OS_LIBS += [
"winmm"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
]
OS_LIBS += [
"rt"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_armv6.S"
]
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
]
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_armv6.S"
]
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
]
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
]
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
]
Library("isac_fix_c_gn")

View File

@ -0,0 +1,161 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/audio_decoder_isacfix.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/audio_encoder_isacfix.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("isac_fix_gn")

View File

@ -0,0 +1,159 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/audio_decoder_isac.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"m",
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("isac_gn")

View File

@ -0,0 +1,98 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding_neon.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filters_neon.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_neon.c",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_neon.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
]
OS_LIBS += [
"log"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
DEFINES["WEBRTC_POSIX"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["_FORTIFY_SOURCE"] = "2"
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM64"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("isac_neon_gn")

View File

@ -0,0 +1,203 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/accelerate.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/audio_multi_vector.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/background_noise.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/buffer_level_filter.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/comfort_noise.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/cross_correlation.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/decision_logic.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/decision_logic_fax.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/decoder_database.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/delay_manager.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/delay_peak_detector.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/dsp_helper.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/dtmf_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/dtmf_tone_generator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/expand.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/merge.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack_tracker.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/neteq.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/neteq_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/normal.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/packet.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/packet_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/post_decode_vad.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/preemptive_expand.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/random_vector.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/red_payload_splitter.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/rtcp.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/statistics_calculator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/sync_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/tick_timer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/time_stretch.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/audio_vector.cc"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_CODEC_G722"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("neteq_gn")

View File

@ -0,0 +1,144 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("pcm16b_c_gn")

View File

@ -0,0 +1,150 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("pcm16b_gn")

View File

@ -0,0 +1,162 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_codec_database.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/rent_a_codec.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_CODEC_G722"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("rent_a_codec_gn")

View File

@ -0,0 +1,148 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/opus_interface.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/libopus/include/",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("webrtc_opus_c_gn")

View File

@ -0,0 +1,160 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_OPUS_VARIABLE_COMPLEXITY"] = "0"
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("webrtc_opus_gn")

View File

@ -0,0 +1,160 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/source/time_scheduler.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/include/",
"/media/webrtc/trunk/webrtc/modules/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"m",
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_conference_mixer_gn")

View File

@ -0,0 +1,245 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_generic.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/audio_device_dummy.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/file_audio_device.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/file_audio_device_factory.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/fine_audio_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/opensl/single_rw_fifo.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/",
"/media/webrtc/trunk/webrtc/modules/audio_device/include/",
"/media/webrtc/trunk/webrtc/modules/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
LOCAL_INCLUDES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/win/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_device_core_win.cc"
]
OS_LIBS += [
"amstrmid",
"dmoguids",
"msdmo",
"winmm",
"wmcodecdspuuid"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_device_wave_win.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_mixer_manager_win.cc"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
LOCAL_INCLUDES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_mixer_manager_pulse_linux.cc"
]
OS_LIBS += [
"dl",
"rt",
"X11"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/alsasymboltable_linux.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_mixer_manager_alsa_linux.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/latebindingsymboltable_linux.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/pulseaudiosymboltable_linux.cc"
]
DEFINES["LINUX_PULSE"] = True
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["LINUX_ALSA"] = True
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
LOCAL_INCLUDES += [
"/config/external/nspr/",
"/media/webrtc/trunk/webrtc/modules/audio_device/android/",
"/nsprpub/lib/ds/",
"/nsprpub/pr/include/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/android/audio_manager.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/android/audio_record_jni.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/android/audio_track_jni.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/android/opensles_player.cc"
]
OS_LIBS += [
"log",
"OpenSLES"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/android/build_info.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/android/opensles_common.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/android/opensles_recorder.cc"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
LOCAL_INCLUDES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/mac/"
]
OS_LIBS += [
"-framework ApplicationServices",
"-framework AudioToolbox",
"-framework CoreAudio",
"-framework CoreGraphics"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/mac/audio_device_mac.cc",
"/media/webrtc/trunk/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.cc"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_device_gn")

View File

@ -0,0 +1,51 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_device/mac/portaudio/pa_ringbuffer.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
DEFINES["WEBRTC_POSIX"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["NDEBUG"] = True
DEFINES["NVALGRIND"] = True
DEFINES["_FORTIFY_SOURCE"] = "2"
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
Library("mac_portaudio_gn")

View File

@ -0,0 +1,147 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_frame_manipulator_gn")

View File

@ -0,0 +1,157 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_mixer/default_output_rate_calculator.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"m",
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_mixer_impl_gn")

View File

@ -0,0 +1,215 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/digital_agc.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/analog_agc.c"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
]
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
]
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
]
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
]
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
]
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
]
Library("audio_processing_c_gn")

View File

@ -0,0 +1,247 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_resampler.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec3/block_framer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec3/block_processor.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec3/cascaded_biquad_filter.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec3/echo_canceller3.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec3/frame_blocker.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/agc/agc.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/agc/agc_manager_direct.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/agc/loudness_histogram.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/agc/utility.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/array_util.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_detector/circular_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_detector/mean_variance_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_detector/moving_max.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/gain_control_for_experimental_agc.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/include/audio_processing.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/include/config.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/biquad_filter.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/down_sampler.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/gain_applier.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/gain_selector.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/level_controller.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/noise_level_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/noise_spectrum_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/saturating_gain_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_controller/signal_classifier.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/level_estimator_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/logging/apm_data_dumper.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/low_cut_filter.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/residual_echo_detector.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/splitting_filter.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/three_band_filter_bank.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/transient/moving_moments.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/transient/transient_detector.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/transient/transient_suppressor.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/transient/wpd_node.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/transient/wpd_tree.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/typing_detection.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/block_mean_calculator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator_wrapper.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/vad/gmm.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/vad/pitch_based_vad.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/vad/pitch_internal.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/vad/pole_zero_filter.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/vad/standalone_vad.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/vad/vad_audio_proc.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/vad/vad_circular_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/vad/voice_activity_detector.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/voice_detection_impl.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/echo_cancellation.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_c.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/echo_control_mobile.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_cancellation_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_control_mobile_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_detector/normalized_covariance_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/gain_control_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/noise_suppression_impl.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/rms_level.cc"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_INTELLIGIBILITY_ENHANCER"] = "0"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["WEBRTC_NS_FLOAT"] = True
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"m",
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_NS_FLOAT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_NS_FLOAT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_NS_FIXED"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_NS_FIXED"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_NS_FIXED"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_NS_FIXED"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_NS_FLOAT"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_NS_FLOAT"] = True
Library("audio_processing_gn")

View File

@ -0,0 +1,89 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_neon.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
OS_LIBS += [
"log"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
DEFINES["WEBRTC_POSIX"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["_FORTIFY_SOURCE"] = "2"
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM64"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_processing_neon_c_gn")

View File

@ -0,0 +1,95 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_neon.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_neon.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_neon.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
]
OS_LIBS += [
"log"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
DEFINES["WEBRTC_POSIX"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["_FORTIFY_SOURCE"] = "2"
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM64"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("audio_processing_neon_gn")

View File

@ -0,0 +1,115 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_sse2.cc",
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_sse2.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["USE_X11"] = "1"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
Library("audio_processing_sse2_gn")

View File

@ -0,0 +1,163 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc",
"/media/webrtc/trunk/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0"
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("bitrate_controller_gn")

View File

@ -0,0 +1,172 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller.cc",
"/media/webrtc/trunk/webrtc/modules/congestion_controller/delay_based_bwe.cc",
"/media/webrtc/trunk/webrtc/modules/congestion_controller/median_slope_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/congestion_controller/probe_controller.cc",
"/media/webrtc/trunk/webrtc/modules/congestion_controller/probing_interval_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/congestion_controller/transport_feedback_adapter.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/congestion_controller/trendline_estimator.cc"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0"
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("congestion_controller_gn")

View File

@ -0,0 +1,94 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/desktop_capture/differ_vector_sse2.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
Library("desktop_capture_differ_sse2_gn")

View File

@ -0,0 +1,185 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/desktop_capture/cropped_desktop_frame.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/cropping_window_capturer.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_options.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capturer.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capturer_differ_wrapper.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_device_info.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_frame_rotation.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/differ_block.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_helper.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/libyuv/libyuv/include/",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc"
]
OS_LIBS += [
"d3d11",
"dxgi",
"winmm"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_win.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_frame_win.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_win.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_win.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/cursor.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/d3d_device.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/desktop.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/desktop_device_info_win.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_texture.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_texture_staging.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/scoped_thread_desktop.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capture_utils.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/win_shared.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/window_capture_utils.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_win.cc"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt",
"X11",
"X11-xcb",
"xcb",
"Xcomposite",
"Xcursor",
"Xdamage",
"Xext",
"Xfixes",
"Xi",
"Xrender"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework AppKit",
"-framework IOKit",
"-framework OpenGL"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_mac.mm",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/desktop_configuration.mm",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/desktop_device_info_mac.mm",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/window_list_utils.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_mac.mm",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_mac.mm"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
Library("desktop_capture_gn")

View File

@ -0,0 +1,98 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_frame.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_geometry.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_region.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/shared_desktop_frame.cc",
"/media/webrtc/trunk/webrtc/modules/desktop_capture/shared_memory.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
Library("primitives_gn")

View File

@ -0,0 +1,159 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/media_file/media_file_impl.cc",
"/media/webrtc/trunk/webrtc/modules/media_file/media_file_utility.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("media_file_gn")

View File

@ -0,0 +1,164 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/pacing/alr_detector.cc",
"/media/webrtc/trunk/webrtc/modules/pacing/bitrate_prober.cc",
"/media/webrtc/trunk/webrtc/modules/pacing/paced_sender.cc",
"/media/webrtc/trunk/webrtc/modules/pacing/packet_router.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("pacing_gn")

View File

@ -0,0 +1,167 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc",
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/bwe_defines.cc",
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/inter_arrival.cc",
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc",
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc",
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc",
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/send_time_history.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0"
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("remote_bitrate_estimator_gn")

View File

@ -0,0 +1,234 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/dtmf_queue.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/flexfec_sender.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/packet_loss_stats.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/playout_delay_oracle.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/app.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/common_header.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/rrtr.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/sli.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmb_item.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/voip_metric.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_format.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_header_extension.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_header_parser.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_packet.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_payload_registry.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_sender.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_utility.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/ssrc_database.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/time_util.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/tmmbr_help.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc",
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/ulpfec_generator.cc"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0"
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("rtp_rtcp_gn")

View File

@ -0,0 +1,167 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/utility/source/process_thread_impl.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/include/",
"/media/webrtc/trunk/webrtc/modules/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/utility/source/helpers_android.cc",
"/media/webrtc/trunk/webrtc/modules/utility/source/jvm_android.cc"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("utility_gn")

View File

@ -0,0 +1,54 @@
# 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. ###
### Modify the corresponding .gn file and re-run the generate ###
### command instead.
FINAL_LIBRARY = "webrtc"
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
OS_LIBS += [
"rt"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["WEBRTC_VOE_EXTERNAL_REC_AND_PLAYOUT"] = True
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
DEFINES["WEBRTC_POSIX"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["_DEBUG"] = True
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
Library("video_capture_gn")

View File

@ -0,0 +1,204 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp",
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/device_info_ds.cc",
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/help_functions_ds.cc",
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/sink_filter_ds.cc"
]
OS_LIBS += [
"Strmiids",
"winmm"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp",
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp",
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/device_info_mf.cc",
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp",
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/video_capture_ds.cc",
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/video_capture_factory_windows.cc",
"/media/webrtc/trunk/webrtc/modules/video_capture/windows/video_capture_mf.cc"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc",
"/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
LOCAL_INCLUDES += [
"/config/external/nspr/",
"/nsprpub/lib/ds/",
"/nsprpub/pr/include/"
]
OS_LIBS += [
"log"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.cc",
"/media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.cc"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
CMMFLAGS += [
"-fobjc-arc"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info.mm",
"/media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info_objc.mm",
"/media/webrtc/trunk/webrtc/modules/video_capture/objc/rtc_video_capture_objc.mm",
"/media/webrtc/trunk/webrtc/modules/video_capture/objc/video_capture.mm"
]
OS_LIBS += [
"-framework AVFoundation",
"-framework CoreMedia",
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("video_capture_internal_impl_gn")

View File

@ -0,0 +1,165 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_capture/device_info_impl.cc",
"/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_factory.cc",
"/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_impl.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("video_capture_module_gn")

View File

@ -0,0 +1,193 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_coding/codec_database.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/codec_timer.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/decoding_state.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/encoded_frame.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/frame_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/frame_buffer2.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/frame_object.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/generic_decoder.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/generic_encoder.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/h264_sprop_parameter_sets.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/h264_sps_pps_tracker.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/histogram.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/inter_frame_delay.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/jitter_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/jitter_estimator.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/media_opt_util.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/media_optimization.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/nack_module.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/packet.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/packet_buffer.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/protection_bitrate_calculator.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/receiver.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/rtp_frame_reference_finder.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/rtt_filter.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/session_info.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/timestamp_map.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/timing.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/video_codec_initializer.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_impl.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/video_receiver.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/video_sender.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("video_coding_gn")

View File

@ -0,0 +1,170 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_coding/utility/default_video_bitrate_allocator.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/utility/frame_dropper.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/utility/ivf_file_writer.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/utility/moving_average.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/utility/qp_parser.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/utility/quality_scaler.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/utility/vp8_header_parser.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("video_coding_utility_gn")

View File

@ -0,0 +1,161 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("webrtc_h264_gn")

View File

@ -0,0 +1,163 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/i420/i420.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("webrtc_i420_gn")

View File

@ -0,0 +1,169 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/realtime_temporal_layers.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/reference_picture_selection.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/libyuv/libyuv/include/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("webrtc_vp8_gn")

View File

@ -0,0 +1,165 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp9/vp9_frame_buffer_pool.cc",
"/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("webrtc_vp9_gn")

View File

@ -0,0 +1,171 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_processing/util/denoiser_filter.cc",
"/media/webrtc/trunk/webrtc/modules/video_processing/util/denoiser_filter_c.cc",
"/media/webrtc/trunk/webrtc/modules/video_processing/util/noise_estimation.cc",
"/media/webrtc/trunk/webrtc/modules/video_processing/util/skin_detection.cc",
"/media/webrtc/trunk/webrtc/modules/video_processing/video_denoiser.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/libyuv/libyuv/include/",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("video_processing_gn")

View File

@ -0,0 +1,85 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_processing/util/denoiser_filter_neon.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
DEFINES["WEBRTC_POSIX"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["_FORTIFY_SOURCE"] = "2"
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_ARCH_ARM64"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("video_processing_neon_gn")

View File

@ -0,0 +1,125 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/modules/video_processing/util/denoiser_filter_sse2.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
Library("video_processing_sse2_gn")

View File

@ -0,0 +1,50 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features_linux.c"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["EXPAT_RELATIVE_PATH"] = True
DEFINES["WEBRTC_POSIX"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
Library("cpu_features_linux_gn")

View File

@ -0,0 +1,143 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/system_wrappers/source/field_trial_default.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("field_trial_default_gn")

View File

@ -0,0 +1,143 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/system_wrappers/source/metrics_default.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["USE_X11"] = "1"
if CONFIG["OS_TARGET"] == "Android":
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("metrics_default_gn")

View File

@ -0,0 +1,206 @@
# 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/system_wrappers/source/aligned_malloc.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/clock.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/cpu_info.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/event.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/file_impl.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/logging.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/rtp_to_ntp_estimator.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/sleep.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/timestamp_extrapolator.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/trace_impl.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"winmm"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_win.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/condition_variable_event_win.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_win.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_win.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_winxp_win.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/trace_win.cc"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"rt"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc"
]
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_THREAD_RR"] = True
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
LOCAL_INCLUDES += [
"/config/external/nspr/",
"/nsprpub/lib/ds/",
"/nsprpub/pr/include/"
]
OS_LIBS += [
"log"
]
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/logcat_trace_context.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_THREAD_RR"] = True
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_darwin.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc",
"/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc"
]
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["WEBRTC_THREAD_RR"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("system_wrappers_gn")

View 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. ###
FINAL_LIBRARY = "webrtc"
UNIFIED_SOURCES += [
"/media/webrtc/trunk/webrtc/video/call_stats.cc",
"/media/webrtc/trunk/webrtc/video/encoder_rtcp_feedback.cc",
"/media/webrtc/trunk/webrtc/video/payload_router.cc",
"/media/webrtc/trunk/webrtc/video/quality_threshold.cc",
"/media/webrtc/trunk/webrtc/video/receive_statistics_proxy.cc",
"/media/webrtc/trunk/webrtc/video/report_block_stats.cc",
"/media/webrtc/trunk/webrtc/video/rtp_stream_receiver.cc",
"/media/webrtc/trunk/webrtc/video/rtp_streams_synchronizer.cc",
"/media/webrtc/trunk/webrtc/video/send_delay_stats.cc",
"/media/webrtc/trunk/webrtc/video/send_statistics_proxy.cc",
"/media/webrtc/trunk/webrtc/video/stats_counter.cc",
"/media/webrtc/trunk/webrtc/video/stream_synchronization.cc",
"/media/webrtc/trunk/webrtc/video/transport_adapter.cc",
"/media/webrtc/trunk/webrtc/video/video_receive_stream.cc",
"/media/webrtc/trunk/webrtc/video/video_send_stream.cc",
"/media/webrtc/trunk/webrtc/video/video_stream_decoder.cc",
"/media/webrtc/trunk/webrtc/video/vie_encoder.cc",
"/media/webrtc/trunk/webrtc/video/vie_remb.cc"
]
LOCAL_INCLUDES += [
"!/ipc/ipdl/_ipdlheaders",
"/ipc/chromium/src",
"/ipc/glue",
"/media/webrtc/trunk/",
"/media/webrtc/trunk/webrtc/common_video/include/",
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/",
"/media/webrtc/trunk/webrtc/modules/audio_coding/include/",
"/media/webrtc/trunk/webrtc/modules/include/"
]
SOURCES += [
"/media/webrtc/trunk/webrtc/video/overuse_frame_detector.cc"
]
COMPILE_FLAGS["STL"] = []
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["V8_DEPRECATION_WARNINGS"] = True
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
DEFINES["CHROMIUM_BUILD"] = True
DEFINES["EXPAT_RELATIVE_PATH"] = True
if not CONFIG["MOZ_DEBUG"]:
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
DEFINES["NVALGRIND"] = True
DEFINES["NDEBUG"] = True
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
if CONFIG["OS_TARGET"] == "WINNT":
OS_LIBS += [
"amstrmid",
"dmoguids",
"msdmo",
"winmm",
"wmcodecdspuuid"
]
DEFINES["_WIN32_WINNT"] = "0x0A00"
DEFINES["_HAS_EXCEPTIONS"] = "0"
DEFINES["_CRT_RAND_S"] = True
DEFINES["_USING_V110_SDK71_"] = True
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
DEFINES["_UNICODE"] = True
DEFINES["__STD_C"] = True
DEFINES["UNICODE"] = True
DEFINES["NOMINMAX"] = True
DEFINES["_SECURE_ATL"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
DEFINES["WIN32"] = True
DEFINES["PSAPI_VERSION"] = "1"
DEFINES["WEBRTC_WIN"] = True
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
DEFINES["_ATL_NO_OPENGL"] = True
DEFINES["WINVER"] = "0x0A00"
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
DEFINES["NO_TCMALLOC"] = True
DEFINES["NTDDI_VERSION"] = "0x0A000000"
DEFINES["_WINDOWS"] = True
if CONFIG["OS_TARGET"] == "Linux":
OS_LIBS += [
"dl",
"m",
"rt",
"X11"
]
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["USE_NSS_CERTS"] = "1"
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Android":
OS_LIBS += [
"log",
"OpenSLES"
]
DEFINES["__GNU_SOURCE"] = "1"
DEFINES["NO_TCMALLOC"] = True
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["USE_OPENSSL_CERTS"] = "1"
DEFINES["ANDROID"] = True
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["DISABLE_NACL"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "Darwin":
OS_LIBS += [
"-framework ApplicationServices",
"-framework AudioToolbox",
"-framework CoreAudio",
"-framework CoreGraphics",
"-framework CoreVideo"
]
DEFINES["CR_XCODE_VERSION"] = "0920"
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
DEFINES["NO_TCMALLOC"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
DEFINES["_FORTIFY_SOURCE"] = "2"
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
CXXFLAGS += [
"-mfpu=neon"
]
DEFINES["WEBRTC_ARCH_ARM"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["WEBRTC_ARCH_ARM64"] = True
Library("video_gn")

Some files were not shown because too many files have changed in this diff Show More