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        "android.hardware.broadcastradio@1.1",
37        "android.hardware.broadcastradio@2.0",
38    ],
39}
40
41cc_test {
42    name: "android.hardware.broadcastradio@common-utils-2x-tests",
43    vendor: true,
44    cflags: [
45        "-Wall",
46        "-Wextra",
47        "-Werror",
48    ],
49    cppflags: [
50        "-std=c++1z",
51    ],
52    srcs: [
53        "IdentifierIterator_test.cpp",
54        "ProgramIdentifier_test.cpp",
55    ],
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}
77