Colin Cross | 243b701 | 2017-04-20 19:21:20 -0700 | [diff] [blame] | 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 | |
| 17 | cc_library_static { |
| 18 | name: "libgsm", |
Jiyong Park | 0a43528 | 2017-08-07 13:14:58 +0900 | [diff] [blame] | 19 | vendor_available: true, |
Colin Cross | 243b701 | 2017-04-20 19:21:20 -0700 | [diff] [blame] | 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", |
Elliott Hughes | 6e43663 | 2017-06-30 10:23:30 -0700 | [diff] [blame] | 41 | "-Werror", |
Haibo Huang | f254aba | 2018-12-04 15:25:35 -0800 | [diff] [blame] | 42 | "-Wno-comment", |
Colin Cross | 243b701 | 2017-04-20 19:21:20 -0700 | [diff] [blame] | 43 | "-Wno-unused-parameter", |
Colin Cross | 243b701 | 2017-04-20 19:21:20 -0700 | [diff] [blame] | 44 | ], |
| 45 | |
| 46 | export_include_dirs: ["inc"], |
Jooyung Han | 1d42a45 | 2020-04-16 18:48:28 +0900 | [diff] [blame] | 47 | min_sdk_version: "apex_inherit", |
Colin Cross | 243b701 | 2017-04-20 19:21:20 -0700 | [diff] [blame] | 48 | } |