Arman Uguray | 6b5811e | 2015-05-29 15:21:43 -0700 | [diff] [blame] | 1 | # |
Jakub Pawlowski | 5b790fe | 2017-09-18 09:00:20 -0700 | [diff] [blame] | 2 | # Copyright 2015 Google, Inc. |
Arman Uguray | 6b5811e | 2015-05-29 15:21:43 -0700 | [diff] [blame] | 3 | # |
| 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 | |
| 17 | source_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 Pawlowski | d7a05a0 | 2016-02-22 18:04:24 -0800 | [diff] [blame] | 35 | include_dirs = [ "decoder/include" ] |
Arman Uguray | 6b5811e | 2015-05-29 15:21:43 -0700 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | source_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 Pawlowski | c451068 | 2017-10-18 04:03:41 -0700 | [diff] [blame] | 52 | "//internal_include", |
Arman Uguray | 6b5811e | 2015-05-29 15:21:43 -0700 | [diff] [blame] | 53 | "//stack/include", |
| 54 | ] |
| 55 | } |
| 56 | |
| 57 | static_library("sbc") { |
| 58 | deps = [ |
| 59 | ":sbc_decoder", |
| 60 | ":sbc_encoder", |
| 61 | ] |
| 62 | } |