blob: f6a3b6f4d9f52ff3dc646eab8a1518b3e5a89495 [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: [
36 "android.hardware.broadcastradio@1.2",
37 "android.hardware.broadcastradio@2.0",
38 ],
39}
Tomasz Wasilczykbceb8852017-12-18 13:59:29 -080040
41cc_test {
42 name: "android.hardware.broadcastradio@common-utils-2x-tests",
43 vendor: true,
44 cflags: [
45 "-Wall",
46 "-Wextra",
47 "-Werror",
48 ],
Tomasz Wasilczykc71624f2017-12-22 10:54:34 -080049 cppflags: [
50 "-std=c++1z",
51 ],
Tomasz Wasilczykbceb8852017-12-18 13:59:29 -080052 srcs: [
53 "IdentifierIterator_test.cpp",
Tomasz Wasilczykc71624f2017-12-22 10:54:34 -080054 "ProgramIdentifier_test.cpp",
Tomasz Wasilczykbceb8852017-12-18 13:59:29 -080055 ],
56 static_libs: [
57 "android.hardware.broadcastradio@common-utils-2x-lib",
58 ],
59 shared_libs: [
60 "android.hardware.broadcastradio@2.0",
61 ],
62}
63
64cc_test {
65 name: "android.hardware.broadcastradio@common-utils-tests",
66 vendor: true,
67 cflags: [
68 "-Wall",
69 "-Wextra",
70 "-Werror",
71 ],
72 srcs: [
73 "WorkerThread_test.cpp",
74 ],
75 static_libs: ["android.hardware.broadcastradio@common-utils-lib"],
76}