blob: 8fb5ad989c8afa9e987d4106fa7674a9e11177b7 [file] [log] [blame]
Colin Cross243b7012017-04-20 19:21:20 -07001//
2// Copyright (C) 2010 The Android Open Source Project
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
17cc_library_static {
18 name: "libgsm",
Jiyong Park0a435282017-08-07 13:14:58 +090019 vendor_available: true,
Colin Cross243b7012017-04-20 19:21:20 -070020
21 srcs: [
22 "src/add.c",
23 "src/code.c",
24 "src/decode.c",
25 "src/gsm_create.c",
26 "src/gsm_decode.c",
27 "src/gsm_destroy.c",
28 "src/gsm_encode.c",
29 "src/gsm_option.c",
30 "src/long_term.c",
31 "src/lpc.c",
32 "src/preprocess.c",
33 "src/rpe.c",
34 "src/short_term.c",
35 "src/table.c",
36 ],
37
38 cflags: [
39 "-DSASR",
40 "-DWAV49",
Elliott Hughes6e436632017-06-30 10:23:30 -070041 "-Werror",
Haibo Huangf254aba2018-12-04 15:25:35 -080042 "-Wno-comment",
Colin Cross243b7012017-04-20 19:21:20 -070043 "-Wno-unused-parameter",
Colin Cross243b7012017-04-20 19:21:20 -070044 ],
45
46 export_include_dirs: ["inc"],
Jooyung Han1d42a452020-04-16 18:48:28 +090047 min_sdk_version: "apex_inherit",
Colin Cross243b7012017-04-20 19:21:20 -070048}