1package { 2 default_applicable_licenses: [ 3 "frameworks_av_media_codecs_amrnb_common_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_codecs_amrnb_common_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: "libstagefright_amrnb_common", 22 vendor_available: true, 23 host_supported: true, 24 min_sdk_version: "29", 25 apex_available: [ 26 "//apex_available:platform", 27 "com.android.media.swcodec", 28 ], 29 30 srcs: [ 31 "src/add.cpp", 32 "src/az_lsp.cpp", 33 "src/bitno_tab.cpp", 34 "src/bitreorder_tab.cpp", 35 "src/bits2prm.cpp", 36 "src/c2_9pf_tab.cpp", 37 "src/copy.cpp", 38 "src/div_32.cpp", 39 "src/div_s.cpp", 40 "src/extract_h.cpp", 41 "src/extract_l.cpp", 42 "src/gains_tbl.cpp", 43 "src/gc_pred.cpp", 44 "src/gmed_n.cpp", 45 "src/grid_tbl.cpp", 46 "src/gray_tbl.cpp", 47 "src/int_lpc.cpp", 48 "src/inv_sqrt.cpp", 49 "src/inv_sqrt_tbl.cpp", 50 "src/l_abs.cpp", 51 "src/l_deposit_h.cpp", 52 "src/l_deposit_l.cpp", 53 "src/l_shr_r.cpp", 54 "src/log2.cpp", 55 "src/log2_norm.cpp", 56 "src/log2_tbl.cpp", 57 "src/lsfwt.cpp", 58 "src/lsp.cpp", 59 "src/lsp_az.cpp", 60 "src/lsp_lsf.cpp", 61 "src/lsp_lsf_tbl.cpp", 62 "src/lsp_tab.cpp", 63 "src/mult_r.cpp", 64 "src/norm_l.cpp", 65 "src/norm_s.cpp", 66 "src/ph_disp_tab.cpp", 67 "src/pow2.cpp", 68 "src/pow2_tbl.cpp", 69 "src/pred_lt.cpp", 70 "src/q_plsf.cpp", 71 "src/q_plsf_3.cpp", 72 "src/q_plsf_3_tbl.cpp", 73 "src/q_plsf_5.cpp", 74 "src/q_plsf_5_tbl.cpp", 75 "src/qua_gain_tbl.cpp", 76 "src/reorder.cpp", 77 "src/residu.cpp", 78 "src/round.cpp", 79 "src/set_zero.cpp", 80 "src/shr.cpp", 81 "src/shr_r.cpp", 82 "src/sqrt_l.cpp", 83 "src/sqrt_l_tbl.cpp", 84 "src/sub.cpp", 85 "src/syn_filt.cpp", 86 "src/vad1.cpp", 87 "src/weight_a.cpp", 88 "src/window_tab.cpp", 89 ], 90 91 export_include_dirs: ["include"], 92 93 cflags: [ 94 "-DOSCL_UNUSED_ARG(x)=(void)(x)", 95 "-DOSCL_IMPORT_REF=", 96 "-DOSCL_EXPORT_REF=", 97 98 "-Werror", 99 ], 100 101 target: { 102 darwin: { 103 enabled: false, 104 }, 105 }, 106 107 //addressing b/25409744 108 //sanitize: { 109 // misc_undefined: [ 110 // "signed-integer-overflow", 111 // "unsigned-integer-overflow", 112 // ], 113 //}, 114} 115