• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2020 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6import("../third_party.gni")
7
8config("oboe_lib") {
9  # Oboe does not include this explicitly
10  cflags = [ "--includeassert.h" ]
11}
12
13third_party("oboe") {
14  configs = [ ":oboe_lib" ]
15
16  public_include_dirs = [
17    "../externals/oboe/include",
18    "../externals/oboe/samples/parselib/src/main/cpp",
19    "../externals/oboe/src/flowgraph",
20  ]
21  include_dirs = [ "../externals/oboe/src" ]
22
23  sources = [
24    "../externals/oboe/samples/parselib/src/main/cpp/stream/FileInputStream.cpp",
25    "../externals/oboe/samples/parselib/src/main/cpp/stream/InputStream.cpp",
26    "../externals/oboe/samples/parselib/src/main/cpp/stream/MemInputStream.cpp",
27    "../externals/oboe/samples/parselib/src/main/cpp/wav/AudioEncoding.cpp",
28    "../externals/oboe/samples/parselib/src/main/cpp/wav/WavChunkHeader.cpp",
29    "../externals/oboe/samples/parselib/src/main/cpp/wav/WavFmtChunkHeader.cpp",
30    "../externals/oboe/samples/parselib/src/main/cpp/wav/WavRIFFChunkHeader.cpp",
31    "../externals/oboe/samples/parselib/src/main/cpp/wav/WavStreamReader.cpp",
32    "../externals/oboe/src/aaudio/AAudioLoader.cpp",
33    "../externals/oboe/src/aaudio/AudioStreamAAudio.cpp",
34    "../externals/oboe/src/common/AudioSourceCaller.cpp",
35    "../externals/oboe/src/common/AudioStream.cpp",
36    "../externals/oboe/src/common/AudioStreamBuilder.cpp",
37    "../externals/oboe/src/common/DataConversionFlowGraph.cpp",
38    "../externals/oboe/src/common/FilterAudioStream.cpp",
39    "../externals/oboe/src/common/FixedBlockAdapter.cpp",
40    "../externals/oboe/src/common/FixedBlockReader.cpp",
41    "../externals/oboe/src/common/FixedBlockWriter.cpp",
42    "../externals/oboe/src/common/LatencyTuner.cpp",
43    "../externals/oboe/src/common/QuirksManager.cpp",
44    "../externals/oboe/src/common/SourceFloatCaller.cpp",
45    "../externals/oboe/src/common/SourceI16Caller.cpp",
46    "../externals/oboe/src/common/StabilizedCallback.cpp",
47    "../externals/oboe/src/common/Trace.cpp",
48    "../externals/oboe/src/common/Utilities.cpp",
49    "../externals/oboe/src/common/Version.cpp",
50    "../externals/oboe/src/fifo/FifoBuffer.cpp",
51    "../externals/oboe/src/fifo/FifoController.cpp",
52    "../externals/oboe/src/fifo/FifoControllerBase.cpp",
53    "../externals/oboe/src/fifo/FifoControllerIndirect.cpp",
54    "../externals/oboe/src/flowgraph/ChannelCountConverter.cpp",
55    "../externals/oboe/src/flowgraph/ClipToRange.cpp",
56    "../externals/oboe/src/flowgraph/FlowGraphNode.cpp",
57    "../externals/oboe/src/flowgraph/ManyToMultiConverter.cpp",
58    "../externals/oboe/src/flowgraph/MonoToMultiConverter.cpp",
59    "../externals/oboe/src/flowgraph/MultiToMonoConverter.cpp",
60    "../externals/oboe/src/flowgraph/RampLinear.cpp",
61    "../externals/oboe/src/flowgraph/SampleRateConverter.cpp",
62    "../externals/oboe/src/flowgraph/SinkFloat.cpp",
63    "../externals/oboe/src/flowgraph/SinkI16.cpp",
64    "../externals/oboe/src/flowgraph/SinkI24.cpp",
65    "../externals/oboe/src/flowgraph/SourceFloat.cpp",
66    "../externals/oboe/src/flowgraph/SourceI16.cpp",
67    "../externals/oboe/src/flowgraph/SourceI24.cpp",
68    "../externals/oboe/src/flowgraph/resampler/IntegerRatio.cpp",
69    "../externals/oboe/src/flowgraph/resampler/LinearResampler.cpp",
70    "../externals/oboe/src/flowgraph/resampler/MultiChannelResampler.cpp",
71    "../externals/oboe/src/flowgraph/resampler/PolyphaseResampler.cpp",
72    "../externals/oboe/src/flowgraph/resampler/PolyphaseResamplerMono.cpp",
73    "../externals/oboe/src/flowgraph/resampler/PolyphaseResamplerStereo.cpp",
74    "../externals/oboe/src/flowgraph/resampler/SincResampler.cpp",
75    "../externals/oboe/src/flowgraph/resampler/SincResamplerStereo.cpp",
76    "../externals/oboe/src/opensles/AudioInputStreamOpenSLES.cpp",
77    "../externals/oboe/src/opensles/AudioOutputStreamOpenSLES.cpp",
78    "../externals/oboe/src/opensles/AudioStreamBuffered.cpp",
79    "../externals/oboe/src/opensles/AudioStreamOpenSLES.cpp",
80    "../externals/oboe/src/opensles/EngineOpenSLES.cpp",
81    "../externals/oboe/src/opensles/OpenSLESUtilities.cpp",
82    "../externals/oboe/src/opensles/OutputMixerOpenSLES.cpp",
83  ]
84}
85