mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
c689dbd103
This code is specific to Web Audio, and is not really part of the MediaStreamGraph code. I've always hated how these files being in two directories gets in the way while hacking on this code. --HG-- rename : content/media/AudioNodeEngine.cpp => content/media/webaudio/AudioNodeEngine.cpp rename : content/media/AudioNodeEngine.h => content/media/webaudio/AudioNodeEngine.h rename : content/media/AudioNodeEngineNEON.cpp => content/media/webaudio/AudioNodeEngineNEON.cpp rename : content/media/AudioNodeEngineNEON.h => content/media/webaudio/AudioNodeEngineNEON.h rename : content/media/AudioNodeExternalInputStream.cpp => content/media/webaudio/AudioNodeExternalInputStream.cpp rename : content/media/AudioNodeExternalInputStream.h => content/media/webaudio/AudioNodeExternalInputStream.h rename : content/media/AudioNodeStream.cpp => content/media/webaudio/AudioNodeStream.cpp rename : content/media/AudioNodeStream.h => content/media/webaudio/AudioNodeStream.h
111 lines
2.7 KiB
Python
111 lines
2.7 KiB
Python
# -*- Mode: python; c-basic-offset: 4; 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/.
|
|
|
|
DIRS += ['blink']
|
|
|
|
TEST_DIRS += ['compiledtest']
|
|
|
|
MOCHITEST_MANIFESTS += [
|
|
'test/blink/mochitest.ini',
|
|
'test/mochitest.ini',
|
|
]
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
|
|
|
BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
|
|
|
|
EXPORTS += [
|
|
'AudioContext.h',
|
|
'AudioNodeEngine.h',
|
|
'AudioNodeExternalInputStream.h',
|
|
'AudioNodeStream.h',
|
|
'AudioParamTimeline.h',
|
|
'MediaBufferDecoder.h',
|
|
'ThreeDPoint.h',
|
|
'WebAudioUtils.h',
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
'FFTBlock.h',
|
|
]
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'AnalyserNode.h',
|
|
'AudioBuffer.h',
|
|
'AudioBufferSourceNode.h',
|
|
'AudioContext.h',
|
|
'AudioDestinationNode.h',
|
|
'AudioListener.h',
|
|
'AudioNode.h',
|
|
'AudioParam.h',
|
|
'AudioProcessingEvent.h',
|
|
'BiquadFilterNode.h',
|
|
'ChannelMergerNode.h',
|
|
'ChannelSplitterNode.h',
|
|
'ConvolverNode.h',
|
|
'DelayNode.h',
|
|
'DynamicsCompressorNode.h',
|
|
'GainNode.h',
|
|
'MediaElementAudioSourceNode.h',
|
|
'MediaStreamAudioDestinationNode.h',
|
|
'MediaStreamAudioSourceNode.h',
|
|
'OfflineAudioCompletionEvent.h',
|
|
'OscillatorNode.h',
|
|
'PannerNode.h',
|
|
'PeriodicWave.h',
|
|
'ScriptProcessorNode.h',
|
|
'WaveShaperNode.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'AnalyserNode.cpp',
|
|
'AudioBuffer.cpp',
|
|
'AudioBufferSourceNode.cpp',
|
|
'AudioContext.cpp',
|
|
'AudioDestinationNode.cpp',
|
|
'AudioListener.cpp',
|
|
'AudioNode.cpp',
|
|
'AudioNodeEngine.cpp',
|
|
'AudioNodeExternalInputStream.cpp',
|
|
'AudioNodeStream.cpp',
|
|
'AudioParam.cpp',
|
|
'AudioProcessingEvent.cpp',
|
|
'BiquadFilterNode.cpp',
|
|
'ChannelMergerNode.cpp',
|
|
'ChannelSplitterNode.cpp',
|
|
'ConvolverNode.cpp',
|
|
'DelayBuffer.cpp',
|
|
'DelayNode.cpp',
|
|
'DynamicsCompressorNode.cpp',
|
|
'FFTBlock.cpp',
|
|
'GainNode.cpp',
|
|
'MediaBufferDecoder.cpp',
|
|
'MediaElementAudioSourceNode.cpp',
|
|
'MediaStreamAudioDestinationNode.cpp',
|
|
'MediaStreamAudioSourceNode.cpp',
|
|
'OfflineAudioCompletionEvent.cpp',
|
|
'OscillatorNode.cpp',
|
|
'PannerNode.cpp',
|
|
'PeriodicWave.cpp',
|
|
'ScriptProcessorNode.cpp',
|
|
'ThreeDPoint.cpp',
|
|
'WaveShaperNode.cpp',
|
|
'WebAudioUtils.cpp',
|
|
]
|
|
|
|
if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['BUILD_ARM_NEON']:
|
|
SOURCES += ['AudioNodeEngineNEON.cpp']
|
|
SOURCES['AudioNodeEngineNEON.cpp'].flags += ['-mfpu=neon']
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
LOCAL_INCLUDES += [
|
|
'..'
|
|
]
|