summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-22 11:13:13 +0000
committerMoonchild <moonchild@palemoon.org>2020-04-22 11:13:13 +0000
commit2bfcaa29ac39c995af0bd5b9efcddbfdeb84be76 (patch)
treed4b81744053f81ed2e91d84c3ddef35dc5c231d0 /dom
parentb5b62d841c733dcb62112f3158f1488e670671d6 (diff)
downloadUXP-2bfcaa29ac39c995af0bd5b9efcddbfdeb84be76.tar
UXP-2bfcaa29ac39c995af0bd5b9efcddbfdeb84be76.tar.gz
UXP-2bfcaa29ac39c995af0bd5b9efcddbfdeb84be76.tar.lz
UXP-2bfcaa29ac39c995af0bd5b9efcddbfdeb84be76.tar.xz
UXP-2bfcaa29ac39c995af0bd5b9efcddbfdeb84be76.zip
Issue #80 - De-unify dom/media part 2
Diffstat (limited to 'dom')
-rw-r--r--dom/media/standalone/moz.build2
-rw-r--r--dom/media/systemservices/MediaParent.cpp1
-rw-r--r--dom/media/systemservices/MediaSystemResourceManager.cpp1
-rw-r--r--dom/media/systemservices/moz.build12
4 files changed, 11 insertions, 5 deletions
diff --git a/dom/media/standalone/moz.build b/dom/media/standalone/moz.build
index 959703765..a3cc3545f 100644
--- a/dom/media/standalone/moz.build
+++ b/dom/media/standalone/moz.build
@@ -7,7 +7,7 @@
if CONFIG['OS_TARGET'] != 'WINNT':
Library('media_standalone')
-UNIFIED_SOURCES += [
+SOURCES += [
'../AudioChannelFormat.cpp',
'../AudioSegment.cpp',
'../SimpleImageBuffer.cpp',
diff --git a/dom/media/systemservices/MediaParent.cpp b/dom/media/systemservices/MediaParent.cpp
index 89a495f6a..16c399f37 100644
--- a/dom/media/systemservices/MediaParent.cpp
+++ b/dom/media/systemservices/MediaParent.cpp
@@ -23,6 +23,7 @@
#include "nsAppDirectoryServiceDefs.h"
#include "nsISupportsImpl.h"
#include "mozilla/Logging.h"
+#include "mozilla/MediaManager.h"
#undef LOG
mozilla::LazyLogModule gMediaParentLog("MediaParent");
diff --git a/dom/media/systemservices/MediaSystemResourceManager.cpp b/dom/media/systemservices/MediaSystemResourceManager.cpp
index 29db0ef3e..a66e946eb 100644
--- a/dom/media/systemservices/MediaSystemResourceManager.cpp
+++ b/dom/media/systemservices/MediaSystemResourceManager.cpp
@@ -7,6 +7,7 @@
#include "mozilla/TaskQueue.h"
#include "gfxPrefs.h"
+#include "MediaSystemResourceClient.h"
#include "MediaSystemResourceManagerChild.h"
#include "mozilla/layers/ImageBridgeChild.h"
diff --git a/dom/media/systemservices/moz.build b/dom/media/systemservices/moz.build
index 82a5c5e72..c582b7ba1 100644
--- a/dom/media/systemservices/moz.build
+++ b/dom/media/systemservices/moz.build
@@ -12,7 +12,7 @@ if CONFIG['MOZ_WEBRTC']:
'LoadManagerFactory.h',
'LoadMonitor.h',
]
- UNIFIED_SOURCES += [
+ SOURCES += [
'CamerasChild.cpp',
'CamerasParent.cpp',
'LoadManager.cpp',
@@ -24,6 +24,7 @@ if CONFIG['MOZ_WEBRTC']:
'/media/webrtc/signaling',
'/media/webrtc/trunk',
]
+
if CONFIG['OS_TARGET'] == 'WINNT':
DEFINES['WEBRTC_WIN'] = True
else:
@@ -34,12 +35,12 @@ if CONFIG['OS_TARGET'] == 'Android':
EXPORTS += [
'OpenSLESProvider.h'
]
- UNIFIED_SOURCES += [
+ SOURCES += [
'OpenSLESProvider.cpp',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
- UNIFIED_SOURCES += ['OSXRunLoopSingleton.cpp']
+ SOURCES += ['OSXRunLoopSingleton.cpp']
EXPORTS += ['OSXRunLoopSingleton.h']
if CONFIG['_MSC_VER']:
@@ -66,7 +67,8 @@ EXPORTS.mozilla.media += ['CamerasTypes.h',
'MediaTaskUtils.h',
'MediaUtils.h',
]
-UNIFIED_SOURCES += [
+
+SOURCES += [
'MediaChild.cpp',
'MediaParent.cpp',
'MediaSystemResourceClient.cpp',
@@ -76,11 +78,13 @@ UNIFIED_SOURCES += [
'MediaSystemResourceService.cpp',
'MediaUtils.cpp',
]
+
IPDL_SOURCES += [
'PCameras.ipdl',
'PMedia.ipdl',
'PMediaSystemResourceManager.ipdl',
]
+
# /dom/base needed for nsGlobalWindow.h in MediaChild.cpp
LOCAL_INCLUDES += [
'/dom/base',