blob: edb5ca90b604942a2e025bc7c34e424400e031cd [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",
Steven Morelandcbf2fa02016-11-16 11:15:42 -080023 "liblog",
24 "libutils",
25 "android.hardware.light@2.0",
26 ],
27 static_libs: ["libgtest"],
28 cflags: [
Ryan Campbellb1bca8b2016-12-12 10:56:28 -080029 "--coverage",
Steven Morelandcbf2fa02016-11-16 11:15:42 -080030 "-O0",
31 "-g",
32 ],
Ryan Campbellb1bca8b2016-12-12 10:56:28 -080033 ldflags: [
34 "--coverage"
35 ]
Steven Morelandcbf2fa02016-11-16 11:15:42 -080036}
37