3d9ab7e7ec
In the build there are some defaults which actually apply to every use of a built-in target type, but there are some (particularaly warnings) which apply only to targets controlled by Skia. Currently these unwanted defaults are magically known to exist and removed wherever they are not wanted. Instead, create 'skia_' prefixed target templates and apply these defaults to those instead. Change-Id: I3a2afb53c7205a2e2748d1cfad46319f2e93d3b3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/385516 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
85 lines
4.1 KiB
Plaintext
85 lines
4.1 KiB
Plaintext
# 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")
|
|
|
|
config("oboe_lib") {
|
|
# Oboe does not include this explicitly
|
|
cflags = [ "--includeassert.h" ]
|
|
}
|
|
|
|
third_party("oboe") {
|
|
configs = [ ":oboe_lib" ]
|
|
|
|
public_include_dirs = [
|
|
"../externals/oboe/include",
|
|
"../externals/oboe/samples/parselib/src/main/cpp",
|
|
"../externals/oboe/src/flowgraph",
|
|
]
|
|
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",
|
|
"../externals/oboe/src/flowgraph/ChannelCountConverter.cpp",
|
|
"../externals/oboe/src/flowgraph/ClipToRange.cpp",
|
|
"../externals/oboe/src/flowgraph/FlowGraphNode.cpp",
|
|
"../externals/oboe/src/flowgraph/ManyToMultiConverter.cpp",
|
|
"../externals/oboe/src/flowgraph/MonoToMultiConverter.cpp",
|
|
"../externals/oboe/src/flowgraph/MultiToMonoConverter.cpp",
|
|
"../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",
|
|
]
|
|
}
|