1// LoudnessEnhancer library 2package { 3 default_applicable_licenses: [ 4 "frameworks_av_media_libeffects_loudness_license", 5 ], 6} 7 8// Added automatically by a large-scale-change 9// See: http://go/android-license-faq 10license { 11 name: "frameworks_av_media_libeffects_loudness_license", 12 visibility: [":__subpackages__"], 13 license_kinds: [ 14 "SPDX-license-identifier-Apache-2.0", 15 ], 16 license_text: [ 17 "NOTICE", 18 ], 19} 20 21cc_library { 22 name: "libldnhncr", 23 24 vendor: true, 25 srcs: [ 26 "EffectLoudnessEnhancer.cpp", 27 "dsp/core/dynamic_range_compression.cpp", 28 ], 29 30 cflags: [ 31 "-O2", 32 "-fvisibility=hidden", 33 34 "-Wall", 35 "-Werror", 36 ], 37 38 shared_libs: [ 39 "libaudioutils", 40 "libcutils", 41 "liblog", 42 ], 43 44 relative_install_path: "soundfx", 45 46 header_libs: ["libaudioeffects"], 47} 48 49cc_library_shared { 50 name: "libloudnessenhanceraidl", 51 srcs: [ 52 ":effectCommonFile", 53 "aidl/EffectLoudnessEnhancer.cpp", 54 "aidl/LoudnessEnhancerContext.cpp", 55 "dsp/core/dynamic_range_compression.cpp", 56 ], 57 defaults: [ 58 "aidlaudioeffectservice_defaults", 59 ], 60 header_libs: [ 61 "libaudioeffects", 62 "libhardware_headers", 63 ], 64 cflags: [ 65 "-Wthread-safety", 66 ], 67 shared_libs: [ 68 "libaudioutils", 69 "libcutils", 70 "liblog", 71 ], 72 relative_install_path: "soundfx", 73 visibility: [ 74 "//hardware/interfaces/audio/aidl/default:__subpackages__", 75 ], 76} 77