1/* 2 * Copyright (C) 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17cc_library { 18 name: "libaudiomockhal", 19 20 defaults: [ 21 "latest_android_hardware_audio_core_ndk_shared", 22 "latest_android_hardware_audio_core_sounddose_ndk_shared", 23 "latest_android_hardware_audio_effect_ndk_shared", 24 ], 25 header_libs: [ 26 "libbinder_headers", 27 ], 28 static_libs: [ 29 "libbinder_random_parcel", 30 ], 31 shared_libs: [ 32 "libbinder_ndk", 33 ], 34 35 host_supported: true, 36 srcs: [ 37 "FactoryMock.cpp", 38 "ModuleMock.cpp", 39 "StreamInMock.cpp", 40 "StreamOutMock.cpp", 41 ], 42 target: { 43 darwin: { 44 enabled: false, 45 }, 46 }, 47 export_include_dirs: ["include"], 48} 49