Bug 1634675 - Remove webrtc-gtests r=drno,froydnj
authorDan Minor <dminor@mozilla.com>
Wed, 20 May 2020 19:59:45 +0000
changeset 531328 cad387b2d0b36c84899fa676e15c30917e82c35b
parent 531327 d75769547bb8ec4a103f2fafbe96945a1d9187ca
child 531329 5032fce072a47d9705e2daec8bfd86668777cbc1
push id37438
push userabutkovits@mozilla.com
push dateThu, 21 May 2020 09:36:57 +0000
treeherdermozilla-central@2d00a1a6495c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno, froydnj
bugs1634675
milestone78.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1634675 - Remove webrtc-gtests r=drno,froydnj Differential Revision: https://phabricator.services.mozilla.com/D73451
browser/app/macbuild/Contents/MacOS-files.in
mach
media/webrtc/moz.build
media/webrtc/trunk/gtest/FakeIPC.cpp
media/webrtc/trunk/gtest/FakeIPC.h
media/webrtc/trunk/gtest/FakeNsTraceRefcnt.cpp
media/webrtc/trunk/gtest/OSXRunLoopSingleton.cpp
media/webrtc/trunk/gtest/moz.build
python/mozbuild/mozbuild/mach_commands.py
--- a/browser/app/macbuild/Contents/MacOS-files.in
+++ b/browser/app/macbuild/Contents/MacOS-files.in
@@ -11,11 +11,10 @@
 /llvm-symbolizer
 #endif
 #if defined(MOZ_CRASHREPORTER)
 /minidump-analyzer
 #endif
 /pingsender
 /pk12util
 /ssltunnel
-/webrtc-gtest
 /xpcshell
 /XUL
--- a/mach
+++ b/mach
@@ -54,17 +54,16 @@ py2commands="
     test
     test-info
     tps-build
     visualmetrics
     web-platform-tests
     web-platform-tests-update
     webidl-example
     webidl-parser-test
-    webrtc-gtest
     wpt
     wpt-manifest-update
     wpt-metadata-merge
     wpt-metadata-summary
     wpt-serve
     wpt-test-paths
     wpt-unittest
     wpt-update
--- a/media/webrtc/moz.build
+++ b/media/webrtc/moz.build
@@ -102,17 +102,16 @@ if CONFIG['MOZ_WEBRTC_SIGNALING']:
 
     # Avoid warnings from third-party code that we can not modify.
     if CONFIG['CC_TYPE'] == 'clang-cl':
         CXXFLAGS += ['-Wno-invalid-source-encoding']
 
     if CONFIG['ENABLE_TESTS']:
         TEST_DIRS += [
             'signaling/gtest',
-            'trunk/gtest',
         ]
 
     # Add libFuzzer configuration directives
     include('/tools/fuzzing/libfuzzer-config.mozbuild')
     if CONFIG['FUZZING_INTERFACES']:
         TEST_DIRS += [
             'signaling/fuzztest'
         ]
deleted file mode 100644
--- a/media/webrtc/trunk/gtest/FakeIPC.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/* 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/. */
-
-#include "FakeIPC.h"
-
-#ifdef WEBRTC_WIN
-#include <Windows.h>
-#else
-#include <unistd.h>
-#endif
-
-// The implementations can't be in the .h file for some annoying reason
-
-/* static */
-void PlatformThread::YieldCurrentThread() {
-#ifdef WEBRTC_WIN
-  Sleep(1);
-#else
-  sleep(1);
-#endif
-}
-
-namespace base {
-
-void AtExitManager::RegisterCallback(AtExitCallbackType func, void* param)
-{
-}
-
-}
-
-// see atomicops_internals_x86_gcc.h
-// This cheats to get the unittests to build
-
-struct AtomicOps_x86CPUFeatureStruct {
-  bool field1;
-  bool field2;
-};
-
-struct AtomicOps_x86CPUFeatureStruct AtomicOps_Internalx86CPUFeatures = {
-  false,
-  false,
-};
deleted file mode 100644
--- a/media/webrtc/trunk/gtest/FakeIPC.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* 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/. */
-
-#ifndef FAKE_IPC_H_
-#define FAKE_IPC_H_
-
-class PlatformThread {
-public:
-  static void YieldCurrentThread();
-};
-
-namespace base {
-class AtExitManager {
-public:
-  typedef void (*AtExitCallbackType)(void*);
-
-  static void RegisterCallback(AtExitCallbackType func, void* param);
-};
-}
-#endif
deleted file mode 100644
--- a/media/webrtc/trunk/gtest/FakeNsTraceRefcnt.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-/* 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/. */
-
-#define MOZ_DUMP_ASSERTION_STACK
-#include <mozilla/Assertions.h>
-
-#include <stdio.h>
-
-void
-nsTraceRefcnt::WalkTheStack(FILE* aStream)
-{
-}
deleted file mode 100644
--- a/media/webrtc/trunk/gtest/OSXRunLoopSingleton.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-*/
-/* 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/. */
-
-// stub implementation so we don't need to rely upon xpcom
-extern "C" {
-void mozilla_set_coreaudio_notification_runloop_if_needed()
-{
-}
-}
deleted file mode 100644
--- a/media/webrtc/trunk/gtest/moz.build
+++ /dev/null
@@ -1,484 +0,0 @@
-# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
-# vim: set filetype=python:
-# 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/.
-
-# Once we have gn support available in the build system
-# (see Bug 1336429) we can use the gn build files directly
-# rather than building things here.
-include('/media/webrtc/webrtc.mozbuild')
-
-AllowCompilerWarnings()
-
-DEFINES['GTEST_RELATIVE_PATH'] = True
-DEFINES['WEBRTC_APM_DEBUG_DUMP'] = 0
-DEFINES['WEBRTC_INTELLIGIBILITY_ENHANCER'] = 0
-DEFINES['WEBRTC_MOZILLA_BUILD'] = 1
-
-LOCAL_INCLUDES += [
-    '../',
-    '/ipc/chromium/src/',
-    '/media/libopus/celt/',
-    '/media/libopus/include',
-    '/media/libopus/src',
-    '/media/libyuv/libyuv/include',
-    '/media/webrtc/trunk/webrtc',
-]
-
-USE_LIBS += [
-    '/media/webrtc/trunk/third_party/gflags/gflags_gflags/gflags',
-    '/testing/gtest/gtest',
-    'media_libopus',
-    'mozglue',
-    'speex',
-    'webrtc',
-    'yuv',
-]
-
-if CONFIG['MOZ_SYSTEM_JPEG']:
-    OS_LIBS += CONFIG['MOZ_JPEG_LIBS']
-else:
-    USE_LIBS += ['media_libjpeg']
-
-if CONFIG['MOZ_SYSTEM_LIBVPX']:
-    OS_LIBS += CONFIG['MOZ_LIBVPX_LIBS']
-else:
-    USE_LIBS += ['media_libvpx']
-
-if CONFIG['OS_TARGET'] in ['Darwin', 'Linux', 'WINNT']:
-    if CONFIG['OS_TARGET'] == 'Linux':
-        DEFINES['USE_X11'] = True
-        DEFINES['WEBRTC_BUILD_LIBEVENT'] = True
-
-        LOCAL_INCLUDES += [
-            '../third_party/gflags/gen/posix/include',
-            '../third_party/gflags/gen/posix/include/private',
-        ]
-
-        if CONFIG['MOZ_SYSTEM_LIBEVENT']:
-            OS_LIBS += CONFIG['MOZ_LIBEVENT_LIBS']
-        else:
-            USE_LIBS += [
-                'libevent',
-            ]
-
-        OS_LIBS += [
-            'rt',
-            'X11',
-            'Xcomposite',
-            'Xdamage',
-            'Xext',
-            'Xfixes',
-            'Xrandr',
-            'Xrender',
-        ]
-    elif CONFIG['OS_TARGET'] == 'Darwin':
-
-        LOCAL_INCLUDES += [
-            '../third_party/gflags/gen/posix/include',
-            '../third_party/gflags/gen/posix/include/private',
-        ]
-
-        USE_LIBS += [
-            'libevent',
-        ]
-
-        OS_LIBS += [
-            '-framework AudioToolbox',
-            '-framework AudioUnit',
-            '-framework Carbon',
-            '-framework CoreAudio',
-            '-framework OpenGL',
-            '-framework AVFoundation',
-            '-framework CoreMedia',
-            '-framework QuartzCore',
-            '-framework Security',
-            '-framework SystemConfiguration',
-            '-framework IOKit',
-            '-F%s' % CONFIG['MACOS_PRIVATE_FRAMEWORKS_DIR'],
-            '-framework CoreUI',
-        ]
-
-        SOURCES += [
-             '../webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc',
-             'OSXRunLoopSingleton.cpp',
-        ]
-    elif CONFIG['OS_TARGET'] == 'WINNT':
-        DEFINES['UNICODE'] = True
-        DEFINES['_UNICODE'] = True
-
-        LOCAL_INCLUDES += [
-            '../third_party/gflags/gen/win/include',
-            '../third_party/gflags/gen/win/include/private',
-        ]
-
-        OS_LIBS += [
-            "amstrmid",
-            "dmoguids",
-            'msdmo',
-            'shell32',
-            'shlwapi',
-            'strmiids',
-            "ws2_32",
-            "wmcodecdspuuid",
-        ]
-
-        SOURCES += [
-            '../webrtc/modules/desktop_capture/win/cursor_unittest.cc',
-        ]
-
-    UNIFIED_SOURCES += [
-    # Test failures
-    #    '../webrtc/audio/audio_receive_stream_unittest.cc',
-        '../webrtc/audio/utility/audio_frame_operations_unittest.cc',
-    # Test failures
-    #    '../webrtc/call/call_unittest.cc',
-        '../webrtc/common_audio/audio_converter_unittest.cc',
-        '../webrtc/common_audio/audio_ring_buffer_unittest.cc',
-        '../webrtc/common_audio/audio_util_unittest.cc',
-        '../webrtc/common_audio/blocker_unittest.cc',
-        '../webrtc/common_audio/channel_buffer_unittest.cc',
-        '../webrtc/common_audio/fir_filter_unittest.cc',
-        '../webrtc/common_audio/lapped_transform_unittest.cc',
-        '../webrtc/common_audio/real_fourier_unittest.cc',
-        '../webrtc/common_audio/resampler/push_resampler_unittest.cc',
-        '../webrtc/common_audio/resampler/push_sinc_resampler_unittest.cc',
-        '../webrtc/common_audio/resampler/sinusoidal_linear_chirp_source.cc',
-        '../webrtc/common_audio/ring_buffer_unittest.cc',
-        '../webrtc/common_audio/signal_processing/real_fft_unittest.cc',
-        '../webrtc/common_audio/signal_processing/signal_processing_unittest.cc',
-        '../webrtc/common_audio/smoothing_filter_unittest.cc',
-        '../webrtc/common_audio/vad/vad_core_unittest.cc',
-        '../webrtc/common_audio/vad/vad_filterbank_unittest.cc',
-        '../webrtc/common_audio/vad/vad_gmm_unittest.cc',
-        '../webrtc/common_audio/vad/vad_sp_unittest.cc',
-        '../webrtc/common_audio/vad/vad_unittest.cc',
-        '../webrtc/common_audio/wav_file_unittest.cc',
-        '../webrtc/common_audio/wav_header_unittest.cc',
-        '../webrtc/common_audio/window_generator_unittest.cc',
-        '../webrtc/common_video/bitrate_adjuster_unittest.cc',
-        '../webrtc/common_video/i420_buffer_pool_unittest.cc',
-        '../webrtc/common_video/i420_video_frame_unittest.cc',
-    # Needs external resource to run
-    #    '../webrtc/common_video/libyuv/libyuv_unittest.cc',
-    # Needs external resource to run
-    #    '../webrtc/common_video/libyuv/scaler_unittest.cc',
-        '../webrtc/modules/audio_coding/acm2/acm_receive_test.cc',
-    # We don't use all of the codecs tested here
-    #    '../webrtc/modules/audio_coding/acm2/acm_receiver_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_coding/acm2/acm_send_test.cc',
-    #    '../webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc',
-        '../webrtc/modules/audio_coding/acm2/call_statistics_unittest.cc',
-    # Test failure
-    #    '../webrtc/modules/audio_coding/acm2/rent_a_codec_unittest.cc',
-        '../webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc',
-        '../webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller_unittest.cc',
-        '../webrtc/modules/audio_coding/audio_network_adaptor/channel_controller_unittest.cc',
-    # Fails, but we don't build all of the codecs
-    #    '../webrtc/modules/audio_coding/codecs/audio_decoder_factory_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_coding/codecs/cng/cng_unittest.cc',
-        '../webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc',
-        '../webrtc/modules/audio_coding/codecs/isac/fix/source/filters_unittest.cc',
-        '../webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc',
-        '../webrtc/modules/audio_coding/codecs/isac/fix/source/transform_unittest.cc',
-        '../webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc',
-    # Test failures
-    #    '../webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc',
-        '../webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_coding/neteq/audio_classifier_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/audio_multi_vector_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/audio_vector_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/background_noise_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/buffer_level_filter_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/comfort_noise_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/delay_manager_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/delay_peak_detector_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/dsp_helper_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/dtmf_buffer_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_coding/neteq/expand_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/merge_unittest.cc',
-    #    '../webrtc/modules/audio_coding/neteq/nack_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_coding/neteq/neteq_stereo_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_coding/neteq/neteq_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/normal_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/post_decode_vad_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/random_vector_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/sync_buffer_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_coding/neteq/time_stretch_unittest.cc',
-    # We don't use all of the codecs tested here
-    #    '../webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/audio_loop.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/audio_sink.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/constant_pcm_packet_source.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/input_audio_file.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/input_audio_file_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/packet.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/packet_source.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/packet_unittest.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/rtp_file_source.cc',
-        '../webrtc/modules/audio_coding/neteq/tools/rtp_generator.cc',
-        '../webrtc/modules/audio_coding/test/target_delay_unittest.cc',
-        '../webrtc/modules/audio_device/fine_audio_buffer_unittest.cc',
-        '../webrtc/modules/audio_processing/aec/echo_cancellation_unittest.cc',
-    # Seg faults
-    #    '../webrtc/modules/audio_processing/aec/system_delay_unittest.cc',
-        '../webrtc/modules/audio_processing/aec3/block_framer_unittest.cc',
-        '../webrtc/modules/audio_processing/aec3/cascaded_biquad_filter_unittest.cc',
-        '../webrtc/modules/audio_processing/agc/agc_manager_direct_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/agc/loudness_histogram_unittest.cc',
-        '../webrtc/modules/audio_processing/audio_buffer_unittest.cc',
-        '../webrtc/modules/audio_processing/audio_processing_impl_unittest.cc',
-        '../webrtc/modules/audio_processing/audio_processing_performance_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/audio_processing_unittest.cc',
-        '../webrtc/modules/audio_processing/beamformer/array_util_unittest.cc',
-        '../webrtc/modules/audio_processing/beamformer/complex_matrix_unittest.cc',
-        '../webrtc/modules/audio_processing/beamformer/covariance_matrix_generator_unittest.cc',
-        '../webrtc/modules/audio_processing/beamformer/matrix_unittest.cc',
-        '../webrtc/modules/audio_processing/config_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc',
-        '../webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc',
-        '../webrtc/modules/audio_processing/echo_detector/circular_buffer_unittest.cc',
-        '../webrtc/modules/audio_processing/echo_detector/mean_variance_estimator_unittest.cc',
-        '../webrtc/modules/audio_processing/echo_detector/moving_max_unittest.cc',
-        '../webrtc/modules/audio_processing/echo_detector/normalized_covariance_estimator_unittest.cc',
-    # disabled in our build
-    #   '../webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer_unittest.cc',
-    #   '../webrtc/modules/audio_processing/intelligibility/intelligibility_utils_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/level_controller/level_controller_unittest.cc',
-        '../webrtc/modules/audio_processing/low_cut_filter_unittest.cc',
-        '../webrtc/modules/audio_processing/residual_echo_detector_unittest.cc',
-        '../webrtc/modules/audio_processing/splitting_filter_unittest.cc',
-        '../webrtc/modules/audio_processing/test/audio_buffer_tools.cc',
-        '../webrtc/modules/audio_processing/test/bitexactness_tools.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/test/debug_dump_test.cc',
-        '../webrtc/modules/audio_processing/test/performance_timer.cc',
-        '../webrtc/modules/audio_processing/test/simulator_buffers.cc',
-        '../webrtc/modules/audio_processing/test/test_utils.cc',
-        '../webrtc/modules/audio_processing/transient/dyadic_decimator_unittest.cc',
-        '../webrtc/modules/audio_processing/transient/file_utils.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/transient/file_utils_unittest.cc',
-        '../webrtc/modules/audio_processing/transient/moving_moments_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/transient/transient_detector_unittest.cc',
-        '../webrtc/modules/audio_processing/transient/transient_suppressor_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/transient/wpd_tree_unittest.cc',
-        '../webrtc/modules/audio_processing/utility/delay_estimator_unittest.cc',
-        '../webrtc/modules/audio_processing/vad/gmm_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/vad/pitch_based_vad_unittest.cc',
-        '../webrtc/modules/audio_processing/vad/pitch_internal_unittest.cc',
-        '../webrtc/modules/audio_processing/vad/pole_zero_filter_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc',
-        '../webrtc/modules/audio_processing/vad/vad_audio_proc_unittest.cc',
-        '../webrtc/modules/audio_processing/vad/vad_circular_buffer_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/vad/voice_activity_detector_unittest.cc',
-        '../webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc',
-        '../webrtc/modules/desktop_capture/desktop_and_cursor_composer_unittest.cc',
-        '../webrtc/modules/desktop_capture/desktop_frame_rotation_unittest.cc',
-        '../webrtc/modules/desktop_capture/desktop_region_unittest.cc',
-        '../webrtc/modules/desktop_capture/differ_block_unittest.cc',
-        '../webrtc/modules/desktop_capture/mouse_cursor_monitor_unittest.cc',
-        '../webrtc/modules/desktop_capture/screen_capturer_unittest.cc',
-        '../webrtc/modules/desktop_capture/test_utils.cc',
-    # Requires external files
-    #    '../webrtc/modules/media_file/media_file_unittest.cc',
-        '../webrtc/modules/module_common_types_unittest.cc',
-        '../webrtc/modules/pacing/bitrate_prober_unittest.cc',
-        '../webrtc/modules/pacing/paced_sender_unittest.cc',
-    # Compile errors
-    #    '../webrtc/modules/pacing/packet_router_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/byte_io_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/fec_test_helper.cc',
-        # Fails to compile
-        #'../webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/packet_loss_stats_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/playout_delay_oracle_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/receive_statistics_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/app_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/voip_metric_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_format_vp8_test_helper.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_format_vp8_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_payload_registry_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/time_util_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/ulpfec_generator_unittest.cc',
-        '../webrtc/modules/utility/source/process_thread_impl_unittest.cc',
-        '../webrtc/modules/video_capture/test/video_capture_unittest.cc',
-        '../webrtc/modules/video_coding/codecs/test/packet_manipulator.cc',
-        '../webrtc/modules/video_coding/codecs/test/stats.cc',
-        '../webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc',
-        '../webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc',
-        '../webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.cc',
-    # Test failures
-    #    '../webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc',
-        '../webrtc/modules/video_coding/decoding_state_unittest.cc',
-        '../webrtc/modules/video_coding/h264_sprop_parameter_sets_unittest.cc',
-        '../webrtc/modules/video_coding/h264_sps_pps_tracker_unittest.cc',
-        '../webrtc/modules/video_coding/histogram_unittest.cc',
-    # Segfaults
-    #    '../webrtc/modules/video_coding/jitter_buffer_unittest.cc',
-        '../webrtc/modules/video_coding/nack_module_unittest.cc',
-        '../webrtc/modules/video_coding/protection_bitrate_calculator_unittest.cc',
-        '../webrtc/modules/video_coding/receiver_unittest.cc',
-        '../webrtc/modules/video_coding/rtp_frame_reference_finder_unittest.cc',
-        '../webrtc/modules/video_coding/session_info_unittest.cc',
-        '../webrtc/modules/video_coding/test/stream_generator.cc',
-        '../webrtc/modules/video_coding/timing_unittest.cc',
-        '../webrtc/modules/video_coding/utility/default_video_bitrate_allocator_unittest.cc',
-        '../webrtc/modules/video_coding/utility/frame_dropper_unittest.cc',
-        '../webrtc/modules/video_coding/utility/moving_average_unittest.cc',
-        '../webrtc/modules/video_coding/utility/quality_scaler_unittest.cc',
-        '../webrtc/modules/video_coding/utility/simulcast_rate_allocator_unittest.cc',
-        '../webrtc/modules/video_coding/video_packet_buffer_unittest.cc',
-        '../webrtc/modules/video_coding/video_receiver_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/video_coding/video_sender_unittest.cc',
-        '../webrtc/rtc_base/fakeclock.cc',
-        '../webrtc/system_wrappers/source/aligned_array_unittest.cc',
-        '../webrtc/system_wrappers/source/aligned_malloc_unittest.cc',
-        '../webrtc/system_wrappers/source/clock_unittest.cc',
-        '../webrtc/system_wrappers/source/ntp_time_unittest.cc',
-        '../webrtc/system_wrappers/source/rtp_to_ntp_estimator_unittest.cc',
-        '../webrtc/test/encoder_settings.cc',
-        '../webrtc/test/fake_decoder.cc',
-        '../webrtc/test/fake_encoder.cc',
-        '../webrtc/test/fake_texture_frame.cc',
-        '../webrtc/test/field_trial.cc',
-        '../webrtc/test/frame_utils.cc',
-        '../webrtc/test/rtcp_packet_parser.cc',
-        '../webrtc/test/rtp_file_reader.cc',
-    # Requires external files
-    #    '../webrtc/test/rtp_file_reader_unittest.cc',
-        '../webrtc/test/rtp_file_writer_unittest.cc',
-        '../webrtc/test/test_main.cc',
-        '../webrtc/test/testsupport/always_passing_unittest.cc',
-        '../webrtc/test/testsupport/fileutils.cc',
-        '../webrtc/test/testsupport/metrics/video_metrics.cc',
-    # Requires external files
-    #    '../webrtc/test/testsupport/metrics/video_metrics_unittest.cc',
-        '../webrtc/test/testsupport/packet_reader.cc',
-        '../webrtc/test/testsupport/packet_reader_unittest.cc',
-        '../webrtc/test/testsupport/perf_test.cc',
-    #    '../webrtc/test/video_capturer.cc',
-        '../webrtc/video/call_stats_unittest.cc',
-    #    '../webrtc/video/encoder_state_feedback_unittest.cc',
-        '../webrtc/video/payload_router_unittest.cc',
-        '../webrtc/video/quality_threshold_unittest.cc',
-        '../webrtc/video/receive_statistics_proxy_unittest.cc',
-        '../webrtc/video/report_block_stats_unittest.cc',
-        '../webrtc/video/send_statistics_proxy_unittest.cc',
-        '../webrtc/video/stats_counter_unittest.cc',
-        '../webrtc/video/stream_synchronization_unittest.cc',
-    # SIGABRT, stack smashing detected
-    #    '../webrtc/video/vie_encoder_unittest.cc',
-        '../webrtc/voice_engine/channel_unittest.cc',
-        '../webrtc/voice_engine/utility_unittest.cc',
-        'FakeIPC.cpp',
-        'FakeNsTraceRefcnt.cpp',
-    ]
-
-    # Unable to use unified build due to multiply defined symbols
-    SOURCES += [
-    # These both fail when creating AudioState, looks like a bad mix of mocked and real classes.
-    #    '../webrtc/audio/audio_send_stream_unittest.cc',
-    #    '../webrtc/audio/audio_state_unittest.cc',
-        '../webrtc/common_audio/sparse_fir_filter_unittest.cc',
-        '../webrtc/modules/audio_coding/audio_network_adaptor/dtx_controller_unittest.cc',
-        '../webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc',
-    # Segfaults
-    #    '../webrtc/modules/audio_processing/echo_control_mobile_unittest.cc',
-    # Disabled in our build
-    #   '../webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/level_estimator_unittest.cc',
-    # Requires external files
-    #    '../webrtc/modules/audio_processing/noise_suppression_unittest.cc',
-        '../webrtc/modules/audio_processing/transient/wpd_node_unittest.cc',
-        '../webrtc/modules/congestion_controller/median_slope_estimator_unittest.cc',
-        '../webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc',
-        '../webrtc/modules/congestion_controller/probe_controller_unittest.cc',
-        '../webrtc/modules/congestion_controller/trendline_estimator_unittest.cc',
-        '../webrtc/modules/desktop_capture/mock_desktop_capturer_callback.cc',
-        '../webrtc/modules/desktop_capture/screen_capturer_helper_unittest.cc',
-        '../webrtc/modules/desktop_capture/window_capturer_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/flexfec_sender_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/bye_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/common_header_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/fir_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/nack_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/pli_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/remb_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/rrtr_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_packet_unittest.cc',
-    # Test failures
-    #   '../webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_packet_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc',
-    # Test failures
-    #    '../webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/rtp_utility_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer_unittest.cc',
-        '../webrtc/modules/rtp_rtcp/source/ulpfec_receiver_unittest.cc',
-        '../webrtc/modules/video_coding/codecs/test/packet_manipulator_unittest.cc',
-        '../webrtc/modules/video_coding/codecs/test/stats_unittest.cc',
-        '../webrtc/modules/video_coding/video_codec_initializer_unittest.cc',
-        '../webrtc/test/rtp_file_writer.cc',
-        '../webrtc/video/send_delay_stats_unittest.cc',
-    ]
-
-    if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
-        CXXFLAGS += [
-            '-Wno-inconsistent-missing-override',
-            '-Wno-overloaded-virtual',
-        ]
-        if CONFIG['CC_TYPE'] == 'clang':
-            CXXFLAGS += ['-Wno-comma']
-
-    GeckoProgram('webrtc-gtest', linkage=None)
--- a/python/mozbuild/mozbuild/mach_commands.py
+++ b/python/mozbuild/mozbuild/mach_commands.py
@@ -1393,78 +1393,16 @@ class Vendor(MachCommandBase):
     @CommandArgument('--verify', '-v', action='store_true', group='verify',
                      required=True, help='Verify manifest')
     def vendor_manifest(self, files, verify):
         from mozbuild.vendor_manifest import verify_manifests
         verify_manifests(files)
 
 
 @CommandProvider
-class WebRTCGTestCommands(GTestCommands):
-    @Command('webrtc-gtest', category='testing',
-             description='Run WebRTC.org GTest unit tests.')
-    @CommandArgument('gtest_filter', default=b"*", nargs='?', metavar='gtest_filter',
-                     help="test_filter is a ':'-separated list of wildcard patterns "
-                     "(called the positive patterns), optionally followed by a '-' and "
-                     "another ':'-separated pattern list (called the negative patterns).")
-    @CommandArgumentGroup('debugging')
-    @CommandArgument('--debug', action='store_true', group='debugging',
-                     help='Enable the debugger. Not specifying a --debugger option will '
-                     'result in the default debugger being used.')
-    @CommandArgument('--debugger', default=None, type=str, group='debugging',
-                     help='Name of debugger to use.')
-    @CommandArgument('--debugger-args', default=None, metavar='params', type=str,
-                     group='debugging',
-                     help='Command-line arguments to pass to the debugger itself; '
-                     'split as the Bourne shell would.')
-    def gtest(self, gtest_filter, debug, debugger,
-              debugger_args):
-        try:
-            app_path = self.get_binary_path('webrtc-gtest')
-        except BinaryNotFoundException as e:
-            self.log(logging.ERROR, 'webrtc-gtest',
-                     {'error': str(e)},
-                     'ERROR: {error}')
-            self.log(logging.INFO, 'webrtc-gtest',
-                     {'help': e.help()},
-                     '{help}')
-            return 1
-
-        args = [app_path]
-
-        if debug or debugger or debugger_args:
-            args = self.prepend_debugger_args(args, debugger, debugger_args)
-            if not args:
-                return 1
-
-        # Used to locate resources used by tests
-        cwd = os.path.join(self.topsrcdir, 'media', 'webrtc', 'trunk')
-
-        if not os.path.isdir(cwd):
-            print('Unable to find working directory for tests: %s' % cwd)
-            return 1
-
-        gtest_env = {
-            # These tests are not run under ASAN upstream, so we need to
-            # disable some checks.
-            b'ASAN_OPTIONS': 'alloc_dealloc_mismatch=0',
-            # Use GTest environment variable to control test execution
-            # For details see:
-            # https://code.google.com/p/googletest/wiki/AdvancedGuide#Running_Test_Programs:_Advanced_Options
-            b'GTEST_FILTER': gtest_filter
-        }
-
-        return self.run_process(args=args,
-                                append_env=gtest_env,
-                                cwd=cwd,
-                                ensure_exit_code=False,
-                                pass_thru=True)
-
-
-@CommandProvider
 class Repackage(MachCommandBase):
     '''Repackages artifacts into different formats.
 
     This is generally used after packages are signed by the signing
     scriptworkers in order to bundle things up into shippable formats, such as a
     .dmg on OSX or an installer exe on Windows.
     '''
     @Command('repackage', category='misc',