blob: 51f4c387783b1f685fe03dd60c9eac2dd9be7ec8 [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 },
Chong Zhang8ba50792020-12-16 18:16:09 +000038
39 apex_available: [
40 "//apex_available:platform",
41 "com.android.media.swcodec",
42 "test_com.android.media.swcodec",
43 ],
44
Jooyung Hana680e7a2020-06-03 15:52:42 +090045 min_sdk_version: "29",
Ayushi Khopkarcb778272020-04-02 10:00:37 +053046
47 target: {
48 darwin: {
49 enabled: false,
50 },
51 },
Ayushi Khopkar97ac9e62020-04-02 09:54:01 +053052}