1// audio preprocessing wrapper 2package { 3 default_team: "trendy_team_media_framework_audio", 4 default_applicable_licenses: [ 5 "frameworks_av_media_libeffects_preprocessing_license", 6 ], 7} 8 9// Added automatically by a large-scale-change 10// See: http://go/android-license-faq 11license { 12 name: "frameworks_av_media_libeffects_preprocessing_license", 13 visibility: [":__subpackages__"], 14 license_kinds: [ 15 "SPDX-license-identifier-Apache-2.0", 16 ], 17 license_text: [ 18 "NOTICE", 19 ], 20} 21 22cc_defaults { 23 name: "libaudiopreprocessing-defaults", 24 vendor: true, 25 host_supported: true, 26 cflags: [ 27 "-Wall", 28 "-Werror", 29 "-Wextra", 30 "-Wno-unused-parameter", 31 ], 32 33 shared_libs: [ 34 "liblog", 35 "libutils", 36 ], 37 38 static_libs: [ 39 "webrtc_audio_processing", 40 ], 41 42 header_libs: [ 43 "libaudioeffects", 44 "libhardware_headers", 45 ], 46 target: { 47 darwin: { 48 enabled: false, 49 }, 50 }, 51} 52 53cc_library { 54 name: "libaudiopreprocessing", 55 defaults: ["libaudiopreprocessing-defaults"], 56 relative_install_path: "soundfx", 57 srcs: ["PreProcessing.cpp"], 58 static_libs: [ 59 "libabsl", 60 ], 61} 62 63cc_library_shared { 64 name: "libpreprocessingaidl", 65 srcs: [ 66 ":effectCommonFile", 67 "aidl/EffectPreProcessing.cpp", 68 "aidl/PreProcessingContext.cpp", 69 ], 70 defaults: [ 71 "aidlaudioeffectservice_defaults", 72 ], 73 local_include_dirs: ["aidl"], 74 shared_libs: [ 75 "libaudioutils", 76 "liblog", 77 "libutils", 78 ], 79 static_libs: [ 80 "libabsl", 81 "webrtc_audio_processing", 82 ], 83 header_libs: [ 84 "libaudioeffects", 85 "libhardware_headers", 86 "libwebrtc_absl_headers", 87 ], 88 cflags: [ 89 "-Wno-unused-parameter", 90 "-Wthread-safety", 91 ], 92 relative_install_path: "soundfx", 93 visibility: [ 94 "//hardware/interfaces/audio/aidl/default:__subpackages__", 95 ], 96} 97