blob: 65cde03070b6e9538bad1eeed3bf53c7192bf02a [file] [log] [blame]
Lais Andrade4d51f6c2020-03-25 10:58:31 +00001// Copyright (C) 2020 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15cc_test {
16 name: "powermanager_test",
17 test_suites: ["device-tests"],
18 srcs: [
19 "PowerHalWrapperAidlTest.cpp",
20 "PowerHalWrapperHidlV1_0Test.cpp",
21 "PowerHalWrapperHidlV1_1Test.cpp",
22 ],
23 cflags: [
24 "-Wall",
25 "-Werror",
26 "-Wextra",
27 ],
28 shared_libs: [
29 "libbase",
30 "libbinder",
31 "libhidlbase",
32 "liblog",
33 "libpowermanager",
34 "libutils",
35 "android.hardware.power@1.0",
36 "android.hardware.power@1.1",
37 "android.hardware.power-cpp",
38 ],
39 static_libs: [
40 "libgmock",
41 ],
42}
43
44cc_test {
45 name: "thermalmanager_test",
46 test_suites: ["device-tests"],
47 srcs: ["IThermalManagerTest.cpp",],
48 cflags: [
49 "-Wall",
50 "-Werror",
51 "-Wextra",
52 ],
53 shared_libs: [
54 "libbase",
55 "libhidlbase",
56 "liblog",
57 "libpowermanager",
58 "libbinder",
59 "libutils",
60 ],
61}