1// 2// Copyright (C) 2017 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 { 18 name: "android.hardware.broadcastradio@common-utils-xx-tests", 19 vendor: true, 20 cflags: [ 21 "-Wall", 22 "-Wextra", 23 "-Werror", 24 ], 25 cppflags: [ 26 "-std=c++1z", 27 ], 28 srcs: [ 29 "CommonXX_test.cpp", 30 ], 31 static_libs: [ 32 "android.hardware.broadcastradio@common-utils-1x-lib", 33 "android.hardware.broadcastradio@common-utils-2x-lib", 34 ], 35 shared_libs: [ 36 "[email protected]", 37 "[email protected]", 38 ], 39 test_suites: ["general-tests"], 40} 41 42cc_test { 43 name: "android.hardware.broadcastradio@common-utils-2x-tests", 44 vendor: true, 45 cflags: [ 46 "-Wall", 47 "-Wextra", 48 "-Werror", 49 ], 50 cppflags: [ 51 "-std=c++1z", 52 ], 53 srcs: [ 54 "IdentifierIterator_test.cpp", 55 "ProgramIdentifier_test.cpp", 56 ], 57 static_libs: [ 58 "android.hardware.broadcastradio@common-utils-2x-lib", 59 ], 60 shared_libs: [ 61 "libhidlbase", 62 "[email protected]", 63 ], 64 test_suites: ["general-tests"], 65} 66 67cc_test { 68 name: "android.hardware.broadcastradio@common-utils-tests", 69 vendor: true, 70 cflags: [ 71 "-Wall", 72 "-Wextra", 73 "-Werror", 74 ], 75 srcs: [ 76 "WorkerThread_test.cpp", 77 ], 78 static_libs: ["android.hardware.broadcastradio@common-utils-lib"], 79 test_suites: ["general-tests"], 80} 81