2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-05-17 10:50:58 +00:00
|
|
|
# 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/.
|
|
|
|
|
2015-04-08 22:21:00 +00:00
|
|
|
with Files('*'):
|
2017-03-23 00:23:12 +00:00
|
|
|
BUG_COMPONENT = ('Core', 'Audio/Video: Recording')
|
2015-04-08 22:21:00 +00:00
|
|
|
|
2013-05-17 10:50:58 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'ContainerWriter.h',
|
2019-07-12 14:18:23 +00:00
|
|
|
'EncodedFrameContainer.h',
|
2013-06-05 06:29:12 +00:00
|
|
|
'MediaEncoder.h',
|
2014-11-28 09:20:00 +00:00
|
|
|
'OpusTrackEncoder.h',
|
2013-05-17 11:16:36 +00:00
|
|
|
'TrackEncoder.h',
|
2013-10-25 02:59:52 +00:00
|
|
|
'TrackMetadataBase.h',
|
2013-05-17 10:50:58 +00:00
|
|
|
]
|
2013-05-17 11:16:36 +00:00
|
|
|
|
2013-11-18 02:31:46 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-06-05 06:29:12 +00:00
|
|
|
'MediaEncoder.cpp',
|
2014-11-28 09:20:00 +00:00
|
|
|
'OpusTrackEncoder.cpp',
|
2013-05-17 11:16:36 +00:00
|
|
|
'TrackEncoder.cpp',
|
|
|
|
]
|
|
|
|
|
2014-01-15 06:21:14 +00:00
|
|
|
if CONFIG['MOZ_WEBM_ENCODER']:
|
2016-03-30 10:03:05 +00:00
|
|
|
EXPORTS += ['VP8TrackEncoder.h',
|
2014-01-15 06:21:14 +00:00
|
|
|
]
|
2016-03-30 10:03:05 +00:00
|
|
|
UNIFIED_SOURCES += ['VP8TrackEncoder.cpp',
|
2014-01-15 06:21:14 +00:00
|
|
|
]
|
2017-02-24 19:01:56 +00:00
|
|
|
LOCAL_INCLUDES += ['/media/libyuv/libyuv/include']
|
2014-01-17 19:29:41 +00:00
|
|
|
|
2018-06-27 16:25:49 +00:00
|
|
|
DEFINES['TRACING'] = True
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-01-17 19:30:02 +00:00
|
|
|
|
2019-03-22 11:42:55 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/media',
|
|
|
|
'/ipc/chromium/src',
|
|
|
|
]
|
2015-11-04 05:28:42 +00:00
|
|
|
|
2014-01-17 19:30:02 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2014-11-25 00:43:19 +00:00
|
|
|
|
|
|
|
# Suppress some GCC warnings being treated as errors:
|
|
|
|
# - about attributes on forward declarations for types that are already
|
|
|
|
# defined, which complains about an important MOZ_EXPORT for android::AString
|
2017-12-07 21:09:15 +00:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2014-11-25 00:43:19 +00:00
|
|
|
CXXFLAGS += ['-Wno-error=attributes']
|