blob: 1e70a0ec45bed857b707a5e3f142f37810f09be6 [file] [log] [blame]
ramindanid32ae8e2021-10-01 18:48:39 +00001/**
2 * Copyright (c) 2021, 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
17package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "hardware_interfaces_license"
21 // to get the below license kinds:
ramindanibab8ba92021-11-18 01:24:11 +000022 // SPDX-license-identifier-Apache-2.0
ramindanid32ae8e2021-10-01 18:48:39 +000023 default_applicable_licenses: ["hardware_interfaces_license"],
24}
25
26cc_test {
27 name: "VtsHalGraphicsComposer3_TargetTest",
28 defaults: [
29 "VtsHalTargetTestDefaults",
30 "use_libaidlvintf_gtest_helper_static",
ramindanibab8ba92021-11-18 01:24:11 +000031 // Needed for librenderengine
32 "skia_deps",
ramindanid32ae8e2021-10-01 18:48:39 +000033 ],
ramindani1cb794e2021-10-13 20:45:23 +000034 srcs: [
35 "VtsHalGraphicsComposer3_TargetTest.cpp",
ramindanibab8ba92021-11-18 01:24:11 +000036 "VtsHalGraphicsComposer3_ReadbackTest.cpp",
ramindani458e53e2022-02-23 17:30:16 +000037 "GraphicsComposerCallback.cpp",
38 "ReadbackVts.cpp",
39 "RenderEngineVts.cpp",
40 "VtsComposerClient.cpp",
ramindani1cb794e2021-10-13 20:45:23 +000041 ],
ramindanid32ae8e2021-10-01 18:48:39 +000042
ramindanid32ae8e2021-10-01 18:48:39 +000043 shared_libs: [
ramindanibab8ba92021-11-18 01:24:11 +000044 "libEGL",
45 "libGLESv1_CM",
46 "libGLESv2",
ramindanid32ae8e2021-10-01 18:48:39 +000047 "libbinder_ndk",
48 "libbinder",
ramindani3335f7a2021-10-25 17:22:35 +000049 "libfmq",
50 "libbase",
51 "libsync",
52 "libui",
ramindanibab8ba92021-11-18 01:24:11 +000053 "libgui",
54 "libhidlbase",
55 "libprocessgroup",
Alec Mouri51067012022-01-06 17:28:39 -080056 "libtinyxml2",
ramindani3335f7a2021-10-25 17:22:35 +000057 "android.hardware.graphics.mapper@2.0",
58 "android.hardware.graphics.mapper@2.1",
59 "android.hardware.graphics.mapper@3.0",
60 "android.hardware.graphics.mapper@4.0",
61 "android.hardware.graphics.allocator@2.0",
62 "android.hardware.graphics.allocator@3.0",
63 "android.hardware.graphics.allocator@4.0",
64 "libvndksupport",
65 ],
66 header_libs: [
67 "android.hardware.graphics.composer3-command-buffer",
ramindanid32ae8e2021-10-01 18:48:39 +000068 ],
69 static_libs: [
70 "android.hardware.graphics.composer3-V1-ndk",
71 "android.hardware.graphics.common-V3-ndk",
72 "android.hardware.graphics.common@1.2",
73 "android.hardware.common-V2-ndk",
74 "android.hardware.common.fmq-V1-ndk",
ramindani3335f7a2021-10-25 17:22:35 +000075 "android.hardware.graphics.allocator@2.0",
76 "android.hardware.graphics.allocator@3.0",
77 "android.hardware.graphics.allocator@4.0",
ramindani3335f7a2021-10-25 17:22:35 +000078 "android.hardware.graphics.mapper@2.0-vts",
79 "android.hardware.graphics.mapper@2.1-vts",
80 "android.hardware.graphics.mapper@3.0-vts",
81 "android.hardware.graphics.mapper@4.0-vts",
82 "libaidlcommonsupport",
ramindaniedf3ef92022-01-07 00:04:23 +000083 "libarect",
84 "libbase",
85 "libfmq",
ramindanibab8ba92021-11-18 01:24:11 +000086 "libgtest",
ramindaniedf3ef92022-01-07 00:04:23 +000087 "libmath",
ramindanibab8ba92021-11-18 01:24:11 +000088 "librenderengine",
89 "libshaders",
ramindaniedf3ef92022-01-07 00:04:23 +000090 "libsync",
ramindanibab8ba92021-11-18 01:24:11 +000091 "libtonemap",
ramindanid32ae8e2021-10-01 18:48:39 +000092 ],
ramindani3335f7a2021-10-25 17:22:35 +000093 cflags: [
94 "-Wconversion",
95 ],
ramindanid32ae8e2021-10-01 18:48:39 +000096 test_suites: [
97 "general-tests",
98 "vts",
99 ],
100}