Bug 1394995 - Moved DecoderDoctor files to dom/media/doctor/ - r=jwwang draft
authorGerald Squelart <gsquelart@mozilla.com>
Mon, 28 Aug 2017 10:37:44 +1200
changeset 668847 75ac112bb7d606b6c12e1d614fdcfe12d2da80d2
parent 668769 68b1c083356d77c81cb6f929165f7553b2835120
child 668848 60c262faa90adfeae430adebfeb1a992e76acec7
push id81138
push usergsquelart@mozilla.com
push dateFri, 22 Sep 2017 03:33:12 +0000
reviewersjwwang
bugs1394995
milestone58.0a1
Bug 1394995 - Moved DecoderDoctor files to dom/media/doctor/ - r=jwwang MozReview-Commit-ID: 9fEmeizzAAw
dom/media/DecoderDoctorDiagnostics.cpp
dom/media/DecoderDoctorDiagnostics.h
dom/media/doctor/DecoderDoctorDiagnostics.cpp
dom/media/doctor/DecoderDoctorDiagnostics.h
dom/media/doctor/moz.build
dom/media/moz.build
rename from dom/media/DecoderDoctorDiagnostics.cpp
rename to dom/media/doctor/DecoderDoctorDiagnostics.cpp
rename from dom/media/DecoderDoctorDiagnostics.h
rename to dom/media/doctor/DecoderDoctorDiagnostics.h
new file mode 100644
--- /dev/null
+++ b/dom/media/doctor/moz.build
@@ -0,0 +1,15 @@
+# -*- 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/.
+
+EXPORTS += [
+    'DecoderDoctorDiagnostics.h',
+]
+
+UNIFIED_SOURCES += [
+    'DecoderDoctorDiagnostics.cpp',
+]
+
+FINAL_LIBRARY = 'xul'
--- a/dom/media/moz.build
+++ b/dom/media/moz.build
@@ -26,16 +26,17 @@ with Files('PeerConnection*'):
 with Files('RTC*'):
     BUG_COMPONENT = component_signaling
 
 component_av = ('Core', 'WebRTC: Audio/Video')
 with Files('GetUserMedia*'):
     BUG_COMPONENT = component_av
 
 DIRS += [
+    'doctor',
     'eme',
     'encoder',
     'flac',
     'gmp',
     'gmp-plugin',
     'gmp-plugin-openh264',
     'imagecapture',
     'ipc',
@@ -95,17 +96,16 @@ EXPORTS += [
     'AudioPacketizer.h',
     'AudioSampleFormat.h',
     'AudioSegment.h',
     'AudioStream.h',
     'Benchmark.h',
     'BufferMediaResource.h',
     'ChannelMediaDecoder.h',
     'CubebUtils.h',
-    'DecoderDoctorDiagnostics.h',
     'DecoderTraits.h',
     'DOMMediaStream.h',
     'EncodedBufferCache.h',
     'FileBlockCache.h',
     'FrameStatistics.h',
     'Intervals.h',
     'Latency.h',
     'MediaCache.h',
@@ -210,17 +210,16 @@ UNIFIED_SOURCES += [
     'AudioTrack.cpp',
     'AudioTrackList.cpp',
     'Benchmark.cpp',
     'CanvasCaptureMediaStream.cpp',
     'ChannelMediaDecoder.cpp',
     'ChannelMediaResource.cpp',
     'CloneableWithRangeMediaResource.cpp',
     'CubebUtils.cpp',
-    'DecoderDoctorDiagnostics.cpp',
     'DOMMediaStream.cpp',
     'EncodedBufferCache.cpp',
     'FileBlockCache.cpp',
     'FileMediaResource.cpp',
     'GetUserMediaRequest.cpp',
     'GraphDriver.cpp',
     'Latency.cpp',
     'MediaCache.cpp',