blob: 696080a07b9070e22d68e0b4a96a60af261865f4 [file] [log] [blame]
Arman Uguray6b5811e2015-05-29 15:21:43 -07001#
Jakub Pawlowski5b790fe2017-09-18 09:00:20 -07002# Copyright 2015 Google, Inc.
Arman Uguray6b5811e2015-05-29 15:21:43 -07003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at:
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17source_set("sbc_decoder") {
18 sources = [
19 "decoder/srce/alloc.c",
20 "decoder/srce/bitalloc.c",
21 "decoder/srce/bitalloc-sbc.c",
22 "decoder/srce/bitstream-decode.c",
23 "decoder/srce/decoder-oina.c",
24 "decoder/srce/decoder-private.c",
25 "decoder/srce/decoder-sbc.c",
26 "decoder/srce/dequant.c",
27 "decoder/srce/framing.c",
28 "decoder/srce/framing-sbc.c",
29 "decoder/srce/oi_codec_version.c",
30 "decoder/srce/synthesis-8-generated.c",
31 "decoder/srce/synthesis-dct8.c",
32 "decoder/srce/synthesis-sbc.c",
33 ]
34
Jakub Pawlowskid7a05a02016-02-22 18:04:24 -080035 include_dirs = [ "decoder/include" ]
Arman Uguray6b5811e2015-05-29 15:21:43 -070036}
37
38source_set("sbc_encoder") {
39 sources = [
40 "encoder/srce/sbc_analysis.c",
41 "encoder/srce/sbc_dct.c",
42 "encoder/srce/sbc_dct_coeffs.c",
43 "encoder/srce/sbc_enc_bit_alloc_mono.c",
44 "encoder/srce/sbc_enc_bit_alloc_ste.c",
45 "encoder/srce/sbc_enc_coeffs.c",
46 "encoder/srce/sbc_encoder.c",
47 "encoder/srce/sbc_packing.c",
48 ]
49
50 include_dirs = [
51 "encoder/include",
Jakub Pawlowskic4510682017-10-18 04:03:41 -070052 "//internal_include",
Arman Uguray6b5811e2015-05-29 15:21:43 -070053 "//stack/include",
54 ]
55}
56
57static_library("sbc") {
58 deps = [
59 ":sbc_decoder",
60 ":sbc_encoder",
61 ]
62}