blob: 889457f35f5029101082b0d4bbcce78c28972410 [file] [log] [blame]
Steven Morelandcbf2fa02016-11-16 11:15:42 -08001//
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: "light_hidl_hal_test",
19 gtest: true,
20 srcs: ["light_hidl_hal_test.cpp"],
21 shared_libs: [
Yifan Hongf9d30342016-11-30 13:45:34 -080022 "libbase",
Martijn Coenen99196a32016-12-15 22:35:04 +010023 "libhidlbase",
Steven Morelandcbf2fa02016-11-16 11:15:42 -080024 "liblog",
25 "libutils",
26 "android.hardware.light@2.0",
27 ],
28 static_libs: ["libgtest"],
29 cflags: [
Ryan Campbellb1bca8b2016-12-12 10:56:28 -080030 "--coverage",
Steven Morelandcbf2fa02016-11-16 11:15:42 -080031 "-O0",
32 "-g",
33 ],
Ryan Campbellb1bca8b2016-12-12 10:56:28 -080034 ldflags: [
35 "--coverage"
36 ]
Steven Morelandcbf2fa02016-11-16 11:15:42 -080037}
38