2020-08-31 20:07:25 +00:00
|
|
|
# Copyright 2020 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
import("../third_party.gni")
|
|
|
|
|
2021-03-11 15:46:23 +00:00
|
|
|
config("oboe_lib") {
|
|
|
|
# Oboe does not include this explicitly
|
|
|
|
cflags = [ "--includeassert.h" ]
|
|
|
|
}
|
|
|
|
|
2020-08-31 20:07:25 +00:00
|
|
|
third_party("oboe") {
|
2021-03-16 18:29:20 +00:00
|
|
|
configs = [ ":oboe_lib" ]
|
2021-03-11 15:46:23 +00:00
|
|
|
|
2020-08-31 20:07:25 +00:00
|
|
|
public_include_dirs = [
|
|
|
|
"../externals/oboe/include",
|
|
|
|
"../externals/oboe/samples/parselib/src/main/cpp",
|
2020-12-14 19:47:09 +00:00
|
|
|
"../externals/oboe/src/flowgraph",
|
2020-08-31 20:07:25 +00:00
|
|
|
]
|
|
|
|
include_dirs = [ "../externals/oboe/src" ]
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"../externals/oboe/samples/parselib/src/main/cpp/stream/FileInputStream.cpp",
|
|
|
|
"../externals/oboe/samples/parselib/src/main/cpp/stream/InputStream.cpp",
|
|
|
|
"../externals/oboe/samples/parselib/src/main/cpp/stream/MemInputStream.cpp",
|
|
|
|
"../externals/oboe/samples/parselib/src/main/cpp/wav/AudioEncoding.cpp",
|
|
|
|
"../externals/oboe/samples/parselib/src/main/cpp/wav/WavChunkHeader.cpp",
|
|
|
|
"../externals/oboe/samples/parselib/src/main/cpp/wav/WavFmtChunkHeader.cpp",
|
|
|
|
"../externals/oboe/samples/parselib/src/main/cpp/wav/WavRIFFChunkHeader.cpp",
|
|
|
|
"../externals/oboe/samples/parselib/src/main/cpp/wav/WavStreamReader.cpp",
|
|
|
|
"../externals/oboe/src/aaudio/AAudioLoader.cpp",
|
|
|
|
"../externals/oboe/src/aaudio/AudioStreamAAudio.cpp",
|
|
|
|
"../externals/oboe/src/common/AudioSourceCaller.cpp",
|
|
|
|
"../externals/oboe/src/common/AudioStream.cpp",
|
|
|
|
"../externals/oboe/src/common/AudioStreamBuilder.cpp",
|
|
|
|
"../externals/oboe/src/common/DataConversionFlowGraph.cpp",
|
|
|
|
"../externals/oboe/src/common/FilterAudioStream.cpp",
|
|
|
|
"../externals/oboe/src/common/FixedBlockAdapter.cpp",
|
|
|
|
"../externals/oboe/src/common/FixedBlockReader.cpp",
|
|
|
|
"../externals/oboe/src/common/FixedBlockWriter.cpp",
|
|
|
|
"../externals/oboe/src/common/LatencyTuner.cpp",
|
|
|
|
"../externals/oboe/src/common/QuirksManager.cpp",
|
|
|
|
"../externals/oboe/src/common/SourceFloatCaller.cpp",
|
|
|
|
"../externals/oboe/src/common/SourceI16Caller.cpp",
|
|
|
|
"../externals/oboe/src/common/StabilizedCallback.cpp",
|
|
|
|
"../externals/oboe/src/common/Trace.cpp",
|
|
|
|
"../externals/oboe/src/common/Utilities.cpp",
|
|
|
|
"../externals/oboe/src/common/Version.cpp",
|
|
|
|
"../externals/oboe/src/fifo/FifoBuffer.cpp",
|
|
|
|
"../externals/oboe/src/fifo/FifoController.cpp",
|
|
|
|
"../externals/oboe/src/fifo/FifoControllerBase.cpp",
|
|
|
|
"../externals/oboe/src/fifo/FifoControllerIndirect.cpp",
|
2020-12-14 19:47:09 +00:00
|
|
|
"../externals/oboe/src/flowgraph/ChannelCountConverter.cpp",
|
2020-08-31 20:07:25 +00:00
|
|
|
"../externals/oboe/src/flowgraph/ClipToRange.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/FlowGraphNode.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/ManyToMultiConverter.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/MonoToMultiConverter.cpp",
|
2020-12-14 19:47:09 +00:00
|
|
|
"../externals/oboe/src/flowgraph/MultiToMonoConverter.cpp",
|
2020-08-31 20:07:25 +00:00
|
|
|
"../externals/oboe/src/flowgraph/RampLinear.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/SampleRateConverter.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/SinkFloat.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/SinkI16.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/SinkI24.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/SourceFloat.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/SourceI16.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/SourceI24.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/resampler/IntegerRatio.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/resampler/LinearResampler.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/resampler/MultiChannelResampler.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/resampler/PolyphaseResampler.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/resampler/PolyphaseResamplerMono.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/resampler/PolyphaseResamplerStereo.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/resampler/SincResampler.cpp",
|
|
|
|
"../externals/oboe/src/flowgraph/resampler/SincResamplerStereo.cpp",
|
|
|
|
"../externals/oboe/src/opensles/AudioInputStreamOpenSLES.cpp",
|
|
|
|
"../externals/oboe/src/opensles/AudioOutputStreamOpenSLES.cpp",
|
|
|
|
"../externals/oboe/src/opensles/AudioStreamBuffered.cpp",
|
|
|
|
"../externals/oboe/src/opensles/AudioStreamOpenSLES.cpp",
|
|
|
|
"../externals/oboe/src/opensles/EngineOpenSLES.cpp",
|
|
|
|
"../externals/oboe/src/opensles/OpenSLESUtilities.cpp",
|
|
|
|
"../externals/oboe/src/opensles/OutputMixerOpenSLES.cpp",
|
|
|
|
]
|
|
|
|
}
|