aboutsummaryrefslogtreecommitdiffstats
path: root/fdk-aac/Android.bp
blob: dce6fdd5fb3ef36ceace09f7ce8d767cda432813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
cc_library_static {
    name: "libFraunhoferAAC",
    vendor_available: true,
    srcs: [
        "libAACdec/src/*.cpp",
        "libAACenc/src/*.cpp",
        "libPCMutils/src/*.cpp",
        "libFDK/src/*.cpp",
        "libSYS/src/*.cpp",
        "libMpegTPDec/src/*.cpp",
        "libMpegTPEnc/src/*.cpp",
        "libSBRdec/src/*.cpp",
        "libSBRenc/src/*.cpp",
        "libArithCoding/src/*.cpp",
        "libDRCdec/src/*.cpp",
        "libSACdec/src/*.cpp",
        "libSACenc/src/*.cpp",
    ],
    cflags: [
        "-Werror",
        "-Wno-unused-parameter",
        "-Wno-#warnings",
        "-Wuninitialized",
        "-Wno-self-assign",
        "-Wno-implicit-fallthrough",
    ],
    sanitize: {
        misc_undefined:[
           "unsigned-integer-overflow",
           "signed-integer-overflow",
           "bounds",
        ],
        cfi: true,
    },
    shared_libs: [
        "liblog",
    ],
    export_include_dirs: [
        "libAACdec/include",
        "libAACenc/include",
        "libPCMutils/include",
        "libFDK/include",
        "libSYS/include",
        "libMpegTPDec/include",
        "libMpegTPEnc/include",
        "libSBRdec/include",
        "libSBRenc/include",
        "libArithCoding/include",
        "libDRCdec/include",
        "libSACdec/include",
        "libSACenc/include",
    ],
}