blob: 88b5de41bb98c5316fce69dd9b5372daedff7b62 [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",
Nolan Scobiea61ca2a2022-12-07 11:48:27 -050031 "librenderengine_deps",
Sally Qi784c2532022-08-22 13:50:32 -070032 "android.hardware.graphics.common-ndk_static",
33 "android.hardware.graphics.composer3-ndk_static",
ramindanid32ae8e2021-10-01 18:48:39 +000034 ],
ramindani1cb794e2021-10-13 20:45:23 +000035 srcs: [
36 "VtsHalGraphicsComposer3_TargetTest.cpp",
ramindanibab8ba92021-11-18 01:24:11 +000037 "VtsHalGraphicsComposer3_ReadbackTest.cpp",
ramindani458e53e2022-02-23 17:30:16 +000038 "GraphicsComposerCallback.cpp",
39 "ReadbackVts.cpp",
40 "RenderEngineVts.cpp",
41 "VtsComposerClient.cpp",
ramindani1cb794e2021-10-13 20:45:23 +000042 ],
ramindanid32ae8e2021-10-01 18:48:39 +000043
ramindanid32ae8e2021-10-01 18:48:39 +000044 shared_libs: [
ramindanibab8ba92021-11-18 01:24:11 +000045 "libEGL",
46 "libGLESv1_CM",
47 "libGLESv2",
ramindanid32ae8e2021-10-01 18:48:39 +000048 "libbinder_ndk",
49 "libbinder",
ramindani3335f7a2021-10-25 17:22:35 +000050 "libfmq",
51 "libbase",
52 "libsync",
53 "libui",
ramindanibab8ba92021-11-18 01:24:11 +000054 "libgui",
55 "libhidlbase",
56 "libprocessgroup",
Alec Mouri51067012022-01-06 17:28:39 -080057 "libtinyxml2",
ramindani3335f7a2021-10-25 17:22:35 +000058 "android.hardware.graphics.mapper@2.0",
59 "android.hardware.graphics.mapper@2.1",
60 "android.hardware.graphics.mapper@3.0",
61 "android.hardware.graphics.mapper@4.0",
62 "android.hardware.graphics.allocator@2.0",
63 "android.hardware.graphics.allocator@3.0",
64 "android.hardware.graphics.allocator@4.0",
65 "libvndksupport",
66 ],
67 header_libs: [
68 "android.hardware.graphics.composer3-command-buffer",
ramindanid32ae8e2021-10-01 18:48:39 +000069 ],
70 static_libs: [
ramindanid32ae8e2021-10-01 18:48:39 +000071 "android.hardware.graphics.common@1.2",
72 "android.hardware.common-V2-ndk",
73 "android.hardware.common.fmq-V1-ndk",
ramindani3335f7a2021-10-25 17:22:35 +000074 "android.hardware.graphics.allocator@2.0",
75 "android.hardware.graphics.allocator@3.0",
76 "android.hardware.graphics.allocator@4.0",
ramindani3335f7a2021-10-25 17:22:35 +000077 "android.hardware.graphics.mapper@2.0-vts",
78 "android.hardware.graphics.mapper@2.1-vts",
79 "android.hardware.graphics.mapper@3.0-vts",
80 "android.hardware.graphics.mapper@4.0-vts",
81 "libaidlcommonsupport",
ramindaniedf3ef92022-01-07 00:04:23 +000082 "libarect",
83 "libbase",
84 "libfmq",
ramindanibab8ba92021-11-18 01:24:11 +000085 "libgtest",
ramindaniedf3ef92022-01-07 00:04:23 +000086 "libmath",
ramindanibab8ba92021-11-18 01:24:11 +000087 "librenderengine",
88 "libshaders",
ramindaniedf3ef92022-01-07 00:04:23 +000089 "libsync",
ramindanibab8ba92021-11-18 01:24:11 +000090 "libtonemap",
ramindanid32ae8e2021-10-01 18:48:39 +000091 ],
ramindani3335f7a2021-10-25 17:22:35 +000092 cflags: [
93 "-Wconversion",
94 ],
ramindanid32ae8e2021-10-01 18:48:39 +000095 test_suites: [
96 "general-tests",
97 "vts",
98 ],
99}