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_shared { 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 "libcutils", 40 "liblog", 41 ], 42 43 relative_install_path: "soundfx", 44 45 header_libs: ["libaudioeffects"], 46} 47 48cc_library_shared { 49 name: "libloudnessenhanceraidl", 50 srcs: [ 51 ":effectCommonFile", 52 "aidl/EffectLoudnessEnhancer.cpp", 53 "aidl/LoudnessEnhancerContext.cpp", 54 "dsp/core/dynamic_range_compression.cpp", 55 ], 56 defaults: [ 57 "aidlaudioeffectservice_defaults", 58 ], 59 header_libs: [ 60 "libaudioeffects", 61 "libhardware_headers", 62 ], 63 cflags: [ 64 "-Wthread-safety", 65 ], 66 shared_libs: [ 67 "libcutils", 68 "liblog", 69 ], 70 relative_install_path: "soundfx", 71 visibility: [ 72 "//hardware/interfaces/audio/aidl/default:__subpackages__", 73 ], 74} 75