blob: 3464fe998b108b5698df560410e550260020e711 [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 {
Aditya Choudharyc5c6c622024-01-31 11:06:17 +000018 default_team: "trendy_team_android_core_graphics_stack",
ramindanid32ae8e2021-10-01 18:48:39 +000019 // See: http://go/android-license-faq
20 // A large-scale-change added 'default_applicable_licenses' to import
21 // all of the 'license_kinds' from "hardware_interfaces_license"
22 // to get the below license kinds:
ramindanibab8ba92021-11-18 01:24:11 +000023 // SPDX-license-identifier-Apache-2.0
ramindanid32ae8e2021-10-01 18:48:39 +000024 default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
27cc_test {
28 name: "VtsHalGraphicsComposer3_TargetTest",
29 defaults: [
30 "VtsHalTargetTestDefaults",
31 "use_libaidlvintf_gtest_helper_static",
Nolan Scobiea61ca2a2022-12-07 11:48:27 -050032 "librenderengine_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",
ramindani3335f7a2021-10-25 17:22:35 +000058 "libvndksupport",
Leon Scroggins III63c8fea2024-02-02 13:03:43 -050059 "server_configurable_flags",
ramindani3335f7a2021-10-25 17:22:35 +000060 ],
61 header_libs: [
62 "android.hardware.graphics.composer3-command-buffer",
ramindanid32ae8e2021-10-01 18:48:39 +000063 ],
64 static_libs: [
ramindanid32ae8e2021-10-01 18:48:39 +000065 "android.hardware.graphics.common@1.2",
66 "android.hardware.common-V2-ndk",
67 "android.hardware.common.fmq-V1-ndk",
ramindani3335f7a2021-10-25 17:22:35 +000068 "libaidlcommonsupport",
ramindaniedf3ef92022-01-07 00:04:23 +000069 "libarect",
70 "libbase",
71 "libfmq",
ramindanibab8ba92021-11-18 01:24:11 +000072 "libgtest",
ramindaniedf3ef92022-01-07 00:04:23 +000073 "libmath",
ramindanibab8ba92021-11-18 01:24:11 +000074 "librenderengine",
75 "libshaders",
ramindaniedf3ef92022-01-07 00:04:23 +000076 "libsync",
ramindanibab8ba92021-11-18 01:24:11 +000077 "libtonemap",
Leon Scroggins III63c8fea2024-02-02 13:03:43 -050078 "libsurfaceflinger_common",
ramindanid32ae8e2021-10-01 18:48:39 +000079 ],
ramindani3335f7a2021-10-25 17:22:35 +000080 cflags: [
81 "-Wconversion",
82 ],
ramindanid32ae8e2021-10-01 18:48:39 +000083 test_suites: [
84 "general-tests",
85 "vts",
86 ],
87}