blob: 04cc21567dcf274f186f7d4f6f80cde523f3bdb4 [file] [log] [blame]
Ayushi Khopkar97ac9e62020-04-02 09:54:01 +05301/*
2 * Copyright (C) 2020 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: "codecs_g711dec",
19 vendor_available: true,
20
21 srcs: [
22 "g711DecAlaw.cpp",
23 "g711DecMlaw.cpp",
24 ],
25
26 export_include_dirs: ["."],
27
28 cflags: ["-Werror"],
29
30 sanitize: {
31 misc_undefined: [
32 "signed-integer-overflow",
33 "unsigned-integer-overflow",
34 ],
35 cfi: true,
36 },
37 apex_available: ["com.android.media.swcodec"],
38}