Issue #80 - De-unify dom/media/encoder

This commit is contained in:
Matt A. Tobin 2020-04-18 01:47:24 -04:00 • committed by Roy Tam
commit de5ee6828b
2 changed files with 6 additions and 2 deletions

View file

@ -2,7 +2,9 @@
/* This Source Code Form is subject to the terms of the Mozilla Public /* 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, * 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/. */ * You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "OpusTrackEncoder.h" #include "OpusTrackEncoder.h"
#include "VideoUtils.h"
#include "nsString.h" #include "nsString.h"
#include "GeckoProfiler.h" #include "GeckoProfiler.h"

View file

@ -16,7 +16,7 @@ EXPORTS += [
'TrackMetadataBase.h', 'TrackMetadataBase.h',
] ]
UNIFIED_SOURCES += [ SOURCES += [
'MediaEncoder.cpp', 'MediaEncoder.cpp',
'OpusTrackEncoder.cpp', 'OpusTrackEncoder.cpp',
'TrackEncoder.cpp', 'TrackEncoder.cpp',
@ -25,8 +25,10 @@ UNIFIED_SOURCES += [
if CONFIG['MOZ_WEBM_ENCODER']: if CONFIG['MOZ_WEBM_ENCODER']:
EXPORTS += ['VP8TrackEncoder.h', EXPORTS += ['VP8TrackEncoder.h',
] ]
UNIFIED_SOURCES += ['VP8TrackEncoder.cpp',
SOURCES += ['VP8TrackEncoder.cpp',
] ]
LOCAL_INCLUDES += ['/media/libyuv/include'] LOCAL_INCLUDES += ['/media/libyuv/include']
FINAL_LIBRARY = 'xul' FINAL_LIBRARY = 'xul'