1package {
2    default_applicable_licenses: [
3        "frameworks_av_media_codec2_components_amr_nb_wb_license",
4    ],
5}
6
7// Added automatically by a large-scale-change
8// See: http://go/android-license-faq
9license {
10    name: "frameworks_av_media_codec2_components_amr_nb_wb_license",
11    visibility: [":__subpackages__"],
12    license_kinds: [
13        "SPDX-license-identifier-Apache-2.0",
14    ],
15    license_text: [
16        "NOTICE",
17    ],
18}
19
20cc_library {
21    name: "libcodec2_soft_amrnbdec",
22    defaults: [
23        "libcodec2_soft-defaults",
24        "libcodec2_soft_sanitize_all-defaults",
25    ],
26
27    srcs: ["C2SoftAmrDec.cpp"],
28
29    cflags: [
30        "-DAMRNB",
31    ],
32
33    static_libs: [
34        "libstagefright_amrnbdec",
35        "libstagefright_amrwbdec",
36    ],
37
38    shared_libs: [
39        "libstagefright_amrnb_common",
40    ],
41}
42
43cc_library {
44    name: "libcodec2_soft_amrwbdec",
45    defaults: [
46        "libcodec2_soft-defaults",
47        "libcodec2_soft_sanitize_all-defaults",
48    ],
49
50    srcs: ["C2SoftAmrDec.cpp"],
51
52    static_libs: [
53        "libstagefright_amrnbdec",
54        "libstagefright_amrwbdec",
55    ],
56
57    shared_libs: [
58        "libstagefright_amrnb_common",
59    ],
60}
61
62cc_library {
63    name: "libcodec2_soft_amrnbenc",
64    defaults: [
65        "libcodec2_soft-defaults",
66        "libcodec2_soft_sanitize_all-defaults",
67    ],
68
69    srcs: ["C2SoftAmrNbEnc.cpp"],
70
71    static_libs: [
72        "libstagefright_amrnbenc",
73    ],
74
75    shared_libs: [
76        "libstagefright_amrnb_common",
77    ],
78}
79
80cc_library {
81    name: "libcodec2_soft_amrwbenc",
82    defaults: [
83        "libcodec2_soft-defaults",
84        "libcodec2_soft_sanitize_all-defaults",
85    ],
86
87    srcs: ["C2SoftAmrWbEnc.cpp"],
88
89    static_libs: [
90        "libstagefright_amrwbenc",
91    ],
92
93    shared_libs: [
94        "libstagefright_enc_common",
95    ],
96}
97