blob: efff60b2e41f14a62f1b57102b812b9d86191cc6 [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,
Ayushi Khopkarcb778272020-04-02 10:00:37 +053020 host_supported: true,
Ayushi Khopkar97ac9e62020-04-02 09:54:01 +053021
22 srcs: [
23 "g711DecAlaw.cpp",
24 "g711DecMlaw.cpp",
25 ],
26
27 export_include_dirs: ["."],
28
29 cflags: ["-Werror"],
30
31 sanitize: {
32 misc_undefined: [
33 "signed-integer-overflow",
34 "unsigned-integer-overflow",
35 ],
36 cfi: true,
37 },
38 apex_available: ["com.android.media.swcodec"],
Jooyung Hana680e7a2020-06-03 15:52:42 +090039 min_sdk_version: "29",
Ayushi Khopkarcb778272020-04-02 10:00:37 +053040
41 target: {
42 darwin: {
43 enabled: false,
44 },
45 },
Ayushi Khopkar97ac9e62020-04-02 09:54:01 +053046}