blob: 27ea35044d182391031442118422ec937774f954 [file] [log] [blame]
Chia-I Wu98f99cf2016-11-03 14:33:55 +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: "graphics_mapper_hidl_hal_test",
19 gtest: true,
20 srcs: ["graphics_mapper_hidl_hal_test.cpp"],
21 shared_libs: [
22 "libbase",
23 "liblog",
24 "libcutils",
25 "libhidlbase",
26 "libhidltransport",
27 "libhwbinder",
28 "libnativehelper",
29 "libsync",
30 "libutils",
31 "android.hardware.graphics.allocator@2.0",
32 "android.hardware.graphics.mapper@2.0",
Yifan Hongd0461a42017-01-09 15:27:33 -080033 "android.hardware.graphics.common@1.0",
Chia-I Wu98f99cf2016-11-03 14:33:55 +080034 ],
35 static_libs: ["libgtest"],
36 cflags: [
Chia-I Wuc7b1fa12016-12-23 12:12:15 +080037 "--coverage",
Chia-I Wu98f99cf2016-11-03 14:33:55 +080038 "-O0",
39 "-g",
40 ],
Chia-I Wuc7b1fa12016-12-23 12:12:15 +080041 ldflags: [
42 "--coverage",
43 ],
Chia-I Wu98f99cf2016-11-03 14:33:55 +080044}