blob: 1c0e4c5a32d1ae5af043a3cb289f0e3e3832a548 [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
Chia-I Wu89d09dd2017-02-24 10:41:35 -080017cc_library_static {
18 name: "libVtsHalGraphicsMapperTestUtils",
Steven Moreland48c52242017-03-08 16:11:32 -080019 defaults: ["hidl_defaults"],
Chia-I Wu89d09dd2017-02-24 10:41:35 -080020 srcs: ["VtsHalGraphicsMapperTestUtils.cpp"],
21 shared_libs: [
22 "android.hardware.graphics.allocator@2.0",
23 "android.hardware.graphics.mapper@2.0",
24 ],
25 static_libs: [
Yuexi Maed2bb4e2017-03-10 00:44:45 -080026 "VtsHalHidlTargetTestBase",
Chia-I Wu89d09dd2017-02-24 10:41:35 -080027 ],
28 cflags: [
29 "-Wall",
30 "-Wextra",
31 "-Werror",
32 "-O0",
33 "-g",
34 ],
35 export_include_dirs: ["."],
36}
37
Chia-I Wu98f99cf2016-11-03 14:33:55 +080038cc_test {
Zhuoyao Zhang8422f6a2017-02-17 18:20:58 -080039 name: "VtsHalGraphicsMapperV2_0TargetTest",
Steven Moreland48c52242017-03-08 16:11:32 -080040 defaults: ["hidl_defaults"],
Zhuoyao Zhang8422f6a2017-02-17 18:20:58 -080041 srcs: ["VtsHalGraphicsMapperV2_0TargetTest.cpp"],
Chia-I Wu98f99cf2016-11-03 14:33:55 +080042 shared_libs: [
43 "libbase",
44 "liblog",
45 "libcutils",
46 "libhidlbase",
47 "libhidltransport",
Chia-I Wu98f99cf2016-11-03 14:33:55 +080048 "libnativehelper",
49 "libsync",
50 "libutils",
51 "android.hardware.graphics.allocator@2.0",
52 "android.hardware.graphics.mapper@2.0",
Yifan Hongd0461a42017-01-09 15:27:33 -080053 "android.hardware.graphics.common@1.0",
Chia-I Wu98f99cf2016-11-03 14:33:55 +080054 ],
Chia-I Wu89d09dd2017-02-24 10:41:35 -080055 static_libs: [
Chia-I Wu89d09dd2017-02-24 10:41:35 -080056 "libVtsHalGraphicsMapperTestUtils",
Yuexi Maed2bb4e2017-03-10 00:44:45 -080057 "VtsHalHidlTargetTestBase",
Chia-I Wu89d09dd2017-02-24 10:41:35 -080058 ],
Chia-I Wu98f99cf2016-11-03 14:33:55 +080059 cflags: [
Chia-I Wu89d09dd2017-02-24 10:41:35 -080060 "-Wall",
61 "-Wextra",
62 "-Werror",
Chia-I Wu98f99cf2016-11-03 14:33:55 +080063 "-O0",
64 "-g",
Ryan Campbell2caf0a62017-02-14 16:50:34 -080065 ]
Chia-I Wu98f99cf2016-11-03 14:33:55 +080066}