• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
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",
19    vendor_available: true,
20
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",
41        "-Werror",
42        "-Wno-comment",
43        "-Wno-unused-parameter",
44    ],
45
46    export_include_dirs: ["inc"],
47    min_sdk_version: "apex_inherit",
48}
49