Bug 1393119 - Add generated files; r?jesup draft
authorDan Minor <dminor@mozilla.com>
Fri, 01 Dec 2017 12:44:51 -0500
changeset 713536 d03946bb0e80d4f048ddea42e77815587aa0593d
parent 713535 3727e8201580818d368335c017649720411997d2
child 713537 844c61e053bf5aaad111fa8d00f7a4dd110eebb3
push id93666
push userbmo:dminor@mozilla.com
push dateWed, 20 Dec 2017 15:10:53 +0000
reviewersjesup
bugs1393119
milestone59.0a1
Bug 1393119 - Add generated files; r?jesup MozReview-Commit-ID: 379Yq1cIQyD
media/webrtc/trunk/moz.build
media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build
media/webrtc/trunk/webrtc/api/call_api_gn/moz.build
media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build
media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build
media/webrtc/trunk/webrtc/audio/audio_gn/moz.build
media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build
media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build
media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build
media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build
media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build
media/webrtc/trunk/webrtc/call/call_gn/moz.build
media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build
media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build
media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build
media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build
media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build
media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build
media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build
media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build
media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build
media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_device/mac_portaudio_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build
media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build
media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build
media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build
media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build
media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build
media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build
media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build
media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_capture/video_capture_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build
media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build
media/webrtc/trunk/webrtc/system_wrappers/cpu_features_linux_gn/moz.build
media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build
media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build
media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build
media/webrtc/trunk/webrtc/video/video_gn/moz.build
media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build
media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build
media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build
media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build
media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build
media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build
media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build
media/webrtc/trunk/webrtc/webrtc_gn/moz.build
--- a/media/webrtc/trunk/moz.build
+++ b/media/webrtc/trunk/moz.build
@@ -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"
+    ]
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/api/call_api_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/audio/audio_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/call/call_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_device/mac_portaudio_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
@@ -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")
new file mode 100644
--- /dev/null
+++ b/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build
@@ -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