You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
2.6 KiB
111 lines
2.6 KiB
package {
|
|
default_applicable_licenses: [
|
|
"frameworks_av_media_codecs_amrnb_common_license",
|
|
],
|
|
}
|
|
|
|
// Added automatically by a large-scale-change
|
|
// See: http://go/android-license-faq
|
|
license {
|
|
name: "frameworks_av_media_codecs_amrnb_common_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-Apache-2.0",
|
|
],
|
|
license_text: [
|
|
"NOTICE",
|
|
],
|
|
}
|
|
|
|
cc_library {
|
|
name: "libstagefright_amrnb_common",
|
|
vendor_available: true,
|
|
host_supported: true,
|
|
min_sdk_version: "29",
|
|
|
|
srcs: [
|
|
"src/add.cpp",
|
|
"src/az_lsp.cpp",
|
|
"src/bitno_tab.cpp",
|
|
"src/bitreorder_tab.cpp",
|
|
"src/bits2prm.cpp",
|
|
"src/c2_9pf_tab.cpp",
|
|
"src/copy.cpp",
|
|
"src/div_32.cpp",
|
|
"src/div_s.cpp",
|
|
"src/extract_h.cpp",
|
|
"src/extract_l.cpp",
|
|
"src/gains_tbl.cpp",
|
|
"src/gc_pred.cpp",
|
|
"src/gmed_n.cpp",
|
|
"src/grid_tbl.cpp",
|
|
"src/gray_tbl.cpp",
|
|
"src/int_lpc.cpp",
|
|
"src/inv_sqrt.cpp",
|
|
"src/inv_sqrt_tbl.cpp",
|
|
"src/l_abs.cpp",
|
|
"src/l_deposit_h.cpp",
|
|
"src/l_deposit_l.cpp",
|
|
"src/l_shr_r.cpp",
|
|
"src/log2.cpp",
|
|
"src/log2_norm.cpp",
|
|
"src/log2_tbl.cpp",
|
|
"src/lsfwt.cpp",
|
|
"src/lsp.cpp",
|
|
"src/lsp_az.cpp",
|
|
"src/lsp_lsf.cpp",
|
|
"src/lsp_lsf_tbl.cpp",
|
|
"src/lsp_tab.cpp",
|
|
"src/mult_r.cpp",
|
|
"src/norm_l.cpp",
|
|
"src/norm_s.cpp",
|
|
"src/ph_disp_tab.cpp",
|
|
"src/pow2.cpp",
|
|
"src/pow2_tbl.cpp",
|
|
"src/pred_lt.cpp",
|
|
"src/q_plsf.cpp",
|
|
"src/q_plsf_3.cpp",
|
|
"src/q_plsf_3_tbl.cpp",
|
|
"src/q_plsf_5.cpp",
|
|
"src/q_plsf_5_tbl.cpp",
|
|
"src/qua_gain_tbl.cpp",
|
|
"src/reorder.cpp",
|
|
"src/residu.cpp",
|
|
"src/round.cpp",
|
|
"src/set_zero.cpp",
|
|
"src/shr.cpp",
|
|
"src/shr_r.cpp",
|
|
"src/sqrt_l.cpp",
|
|
"src/sqrt_l_tbl.cpp",
|
|
"src/sub.cpp",
|
|
"src/syn_filt.cpp",
|
|
"src/vad1.cpp",
|
|
"src/weight_a.cpp",
|
|
"src/window_tab.cpp",
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
cflags: [
|
|
"-DOSCL_UNUSED_ARG(x)=(void)(x)",
|
|
"-DOSCL_IMPORT_REF=",
|
|
"-DOSCL_EXPORT_REF=",
|
|
|
|
"-Werror",
|
|
],
|
|
|
|
target: {
|
|
darwin: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
|
|
//addressing b/25409744
|
|
//sanitize: {
|
|
// misc_undefined: [
|
|
// "signed-integer-overflow",
|
|
// "unsigned-integer-overflow",
|
|
// ],
|
|
//},
|
|
}
|