1cc_library_shared {
2    name: "libcodec2_soft_amrnbdec",
3    defaults: [
4        "libcodec2_soft-defaults",
5        "libcodec2_soft_sanitize_all-defaults",
6    ],
7
8    srcs: ["C2SoftAmrDec.cpp"],
9
10    cflags: [
11        "-DAMRNB",
12    ],
13
14    static_libs: [
15        "libstagefright_amrnbdec",
16        "libstagefright_amrwbdec",
17    ],
18
19    shared_libs: [
20        "libstagefright_amrnb_common",
21    ],
22}
23
24cc_library_shared {
25    name: "libcodec2_soft_amrwbdec",
26    defaults: [
27        "libcodec2_soft-defaults",
28        "libcodec2_soft_sanitize_all-defaults",
29    ],
30
31    srcs: ["C2SoftAmrDec.cpp"],
32
33    static_libs: [
34        "libstagefright_amrnbdec",
35        "libstagefright_amrwbdec",
36    ],
37
38    shared_libs: [
39        "libstagefright_amrnb_common",
40    ],
41}
42
43cc_library_shared {
44    name: "libcodec2_soft_amrnbenc",
45    defaults: [
46        "libcodec2_soft-defaults",
47        "libcodec2_soft_sanitize_all-defaults",
48    ],
49
50    srcs: ["C2SoftAmrNbEnc.cpp"],
51
52    static_libs: [
53        "libstagefright_amrnbenc",
54    ],
55
56    shared_libs: [
57        "libstagefright_amrnb_common",
58    ],
59}
60
61cc_library_shared {
62    name: "libcodec2_soft_amrwbenc",
63    defaults: [
64        "libcodec2_soft-defaults",
65        "libcodec2_soft_sanitize_all-defaults",
66    ],
67
68    srcs: ["C2SoftAmrWbEnc.cpp"],
69
70    static_libs: [
71        "libstagefright_amrwbenc",
72    ],
73
74    shared_libs: [
75        "libstagefright_enc_common",
76    ],
77}
78