blob: bef7bc213d6f6b169eb4a6593589dae11f0b78cd [file] [log] [blame]
Polina Bondarenko59d05eb2016-11-03 16:41:18 +01001//
2// Copyright (C) 2016 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: "thermal_hidl_hal_test",
19 gtest: true,
20 srcs: ["thermal_hidl_hal_test.cpp"],
21 shared_libs: [
22 "libbase",
23 "liblog",
24 "libcutils",
Yifan Hong6b920e42016-11-16 14:17:58 -080025 "libhidlbase",
26 "libhidltransport",
Polina Bondarenko59d05eb2016-11-03 16:41:18 +010027 "libhwbinder",
28 "libnativehelper",
29 "libutils",
30 "android.hardware.thermal@1.0",
31 ],
32 static_libs: ["libgtest"],
33 cflags: [
Polina Bondarenko8200a152016-12-15 16:41:00 +010034 "--coverage",
Polina Bondarenko59d05eb2016-11-03 16:41:18 +010035 "-O0",
36 "-g",
37 ],
Polina Bondarenko8200a152016-12-15 16:41:00 +010038 ldflags: [
39 "--coverage"
40 ]
Polina Bondarenko59d05eb2016-11-03 16:41:18 +010041}
42