blob: ef8733c2902b610795b545212d6b799e42b8856b [file] [log] [blame]
Tomasz Wasilczyk48377552017-06-22 10:45:33 -07001//
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 {
Tomasz Wasilczyk06100b32017-12-04 09:53:32 -080018 name: "android.hardware.broadcastradio@common-utils-xx-tests",
19 vendor: true,
20 cflags: [
21 "-Wall",
22 "-Wextra",
23 "-Werror",
24 ],
Tomasz Wasilczykc71624f2017-12-22 10:54:34 -080025 cppflags: [
26 "-std=c++1z",
27 ],
Tomasz Wasilczyk06100b32017-12-04 09:53:32 -080028 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: [
Tomasz Wasilczyk8c34c812018-02-08 13:42:31 -080036 "android.hardware.broadcastradio@1.1",
Tomasz Wasilczyk06100b32017-12-04 09:53:32 -080037 "android.hardware.broadcastradio@2.0",
38 ],
Keun Soo YIMff84c372018-11-27 14:04:42 -080039 test_suites: ["general-tests"],
Tomasz Wasilczyk06100b32017-12-04 09:53:32 -080040}
Tomasz Wasilczykbceb8852017-12-18 13:59:29 -080041
42cc_test {
43 name: "android.hardware.broadcastradio@common-utils-2x-tests",
44 vendor: true,
45 cflags: [
46 "-Wall",
47 "-Wextra",
48 "-Werror",
49 ],
Tomasz Wasilczykc71624f2017-12-22 10:54:34 -080050 cppflags: [
51 "-std=c++1z",
52 ],
Tomasz Wasilczykbceb8852017-12-18 13:59:29 -080053 srcs: [
54 "IdentifierIterator_test.cpp",
Tomasz Wasilczykc71624f2017-12-22 10:54:34 -080055 "ProgramIdentifier_test.cpp",
Tomasz Wasilczykbceb8852017-12-18 13:59:29 -080056 ],
57 static_libs: [
58 "android.hardware.broadcastradio@common-utils-2x-lib",
59 ],
60 shared_libs: [
61 "android.hardware.broadcastradio@2.0",
62 ],
Keun Soo YIMff84c372018-11-27 14:04:42 -080063 test_suites: ["general-tests"],
Tomasz Wasilczykbceb8852017-12-18 13:59:29 -080064}
65
66cc_test {
67 name: "android.hardware.broadcastradio@common-utils-tests",
68 vendor: true,
69 cflags: [
70 "-Wall",
71 "-Wextra",
72 "-Werror",
73 ],
74 srcs: [
75 "WorkerThread_test.cpp",
76 ],
77 static_libs: ["android.hardware.broadcastradio@common-utils-lib"],
Keun Soo YIMff84c372018-11-27 14:04:42 -080078 test_suites: ["general-tests"],
Tomasz Wasilczykbceb8852017-12-18 13:59:29 -080079}