1// 2// Copyright (C) 2012 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_test_host { 18 name: "cts_audio_quality_test", 19 srcs: ["*.cpp"], 20 21 static_libs: [ 22 "libutils", 23 "liblog", 24 "libcutils", 25 "libtinyalsa", 26 "libtinyxml2", 27 ], 28 29 // need to keep everything in libcts_.. Otherwise, linker will drop some 30 // functions and linker error happens 31 whole_static_libs: ["libcts_audio_quality"], 32 33 cflags: [ 34 "-g", 35 "-fno-exceptions", 36 "-Wall", 37 "-Werror", 38 "-Wno-unused-parameter", 39 "-Wno-unused-variable", 40 ], 41 ldflags: [ 42 "-g", 43 "-fno-exceptions", 44 ], 45 stl: "libc++_static", 46 target: { 47 darwin: { 48 enabled: false, 49 }, 50 }, 51 compile_multilib: "first", 52} 53