blob: cbd2da5fe06c8e7b55d30794ec5cc11ce5fcbc26 [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",
Sally Qi784c2532022-08-22 13:50:32 -070033 "android.hardware.graphics.common-ndk_static",
34 "android.hardware.graphics.composer3-ndk_static",
ramindanid32ae8e2021-10-01 18:48:39 +000035 ],
ramindani1cb794e2021-10-13 20:45:23 +000036 srcs: [
37 "VtsHalGraphicsComposer3_TargetTest.cpp",
ramindanibab8ba92021-11-18 01:24:11 +000038 "VtsHalGraphicsComposer3_ReadbackTest.cpp",
ramindani458e53e2022-02-23 17:30:16 +000039 "GraphicsComposerCallback.cpp",
40 "ReadbackVts.cpp",
41 "RenderEngineVts.cpp",
42 "VtsComposerClient.cpp",
ramindani1cb794e2021-10-13 20:45:23 +000043 ],
ramindanid32ae8e2021-10-01 18:48:39 +000044
ramindanid32ae8e2021-10-01 18:48:39 +000045 shared_libs: [
ramindanibab8ba92021-11-18 01:24:11 +000046 "libEGL",
47 "libGLESv1_CM",
48 "libGLESv2",
ramindanid32ae8e2021-10-01 18:48:39 +000049 "libbinder_ndk",
50 "libbinder",
ramindani3335f7a2021-10-25 17:22:35 +000051 "libfmq",
52 "libbase",
53 "libsync",
54 "libui",
ramindanibab8ba92021-11-18 01:24:11 +000055 "libgui",
56 "libhidlbase",
57 "libprocessgroup",
Alec Mouri51067012022-01-06 17:28:39 -080058 "libtinyxml2",
ramindani3335f7a2021-10-25 17:22:35 +000059 "android.hardware.graphics.mapper@2.0",
60 "android.hardware.graphics.mapper@2.1",
61 "android.hardware.graphics.mapper@3.0",
62 "android.hardware.graphics.mapper@4.0",
63 "android.hardware.graphics.allocator@2.0",
64 "android.hardware.graphics.allocator@3.0",
65 "android.hardware.graphics.allocator@4.0",
66 "libvndksupport",
67 ],
68 header_libs: [
69 "android.hardware.graphics.composer3-command-buffer",
ramindanid32ae8e2021-10-01 18:48:39 +000070 ],
71 static_libs: [
ramindanid32ae8e2021-10-01 18:48:39 +000072 "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}