blob: 905cdb11131903fada85e895657a5317ebe4e735 [file] [log] [blame]
# Copyright 2021 The Cobalt Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
static_library("audio") {
has_pedantic_warnings = true
sources = [
"async_audio_decoder.cc",
"async_audio_decoder.h",
"audio_buffer.cc",
"audio_buffer.h",
"audio_buffer_source_node.cc",
"audio_buffer_source_node.h",
"audio_context.cc",
"audio_context.h",
"audio_destination_node.cc",
"audio_destination_node.h",
"audio_device.cc",
"audio_device.h",
"audio_file_reader.cc",
"audio_file_reader.h",
"audio_file_reader_wav.cc",
"audio_file_reader_wav.h",
"audio_helpers.h",
"audio_node.cc",
"audio_node.h",
"audio_node_input.cc",
"audio_node_input.h",
"audio_node_output.cc",
"audio_node_output.h",
]
configs -= [ "//starboard/build/config:size" ]
configs += [ "//starboard/build/config:speed" ]
public_deps = [
# Additionally, ensure that the include directories for generated
# headers are put on the include directories for targets that depend
# on this one.
"//cobalt/browser:generated_types",
]
deps = [
"//cobalt/base",
"//cobalt/media",
"//cobalt/script",
"//starboard:starboard_headers_only",
]
}