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