huangcm
2025-02-24 69ed55dec4b2116a19e4cca4393cbc014fce5fb2
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
cc_library_shared {
    name: "libldacBT_enc",
    vendor_available: true,
    vndk: {
        enabled: true,
    },
    arch: {
        arm: {
            instruction_set: "arm",
        },
    },
    export_include_dirs: ["inc"],
    srcs: [
        "src/ldaclib.c",
        "src/ldacBT.c",
    ],
    // -D_32BIT_FIXED_POINT should be added to cflags for devices without a FPU
    // unit such as ARM Cortex-R series or external 32-bit DSPs.
    cflags: ["-O2", "-Werror", "-Wall", "-Wextra"],
}
 
cc_library_shared {
    name: "libldacBT_abr",
    vendor_available: true,
    vndk: {
        enabled: true,
    },
    arch: {
        arm: {
            instruction_set: "arm",
        },
    },
    export_include_dirs: ["abr/inc"],
    srcs: ["abr/src/ldacBT_abr.c"],
    shared_libs: ["libldacBT_enc"],
    cflags: ["-O2", "-Werror", "-Wall", "-Wextra"]
}