blob: 61c25932269c51c016122c058ef7bd37b354a998 [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",
Vishnu Nair4bb96932024-07-16 03:41:07 +000060 "libtracing_perfetto",
ramindani3335f7a2021-10-25 17:22:35 +000061 ],
62 header_libs: [
63 "android.hardware.graphics.composer3-command-buffer",
ramindanid32ae8e2021-10-01 18:48:39 +000064 ],
65 static_libs: [
ramindanid32ae8e2021-10-01 18:48:39 +000066 "android.hardware.graphics.common@1.2",
67 "android.hardware.common-V2-ndk",
68 "android.hardware.common.fmq-V1-ndk",
Huihong Luo3a42a8a2023-12-13 10:07:22 -080069 "android.hardware.drm.common-V1-ndk",
ramindani3335f7a2021-10-25 17:22:35 +000070 "libaidlcommonsupport",
ramindaniedf3ef92022-01-07 00:04:23 +000071 "libarect",
72 "libbase",
73 "libfmq",
Brian Lindahl5054e3b2024-11-20 09:01:52 -070074 "libgmock",
ramindanibab8ba92021-11-18 01:24:11 +000075 "libgtest",
ramindaniedf3ef92022-01-07 00:04:23 +000076 "libmath",
ramindanibab8ba92021-11-18 01:24:11 +000077 "librenderengine",
78 "libshaders",
ramindaniedf3ef92022-01-07 00:04:23 +000079 "libsync",
ramindanibab8ba92021-11-18 01:24:11 +000080 "libtonemap",
Leon Scroggins III63c8fea2024-02-02 13:03:43 -050081 "libsurfaceflinger_common",
ramindanid32ae8e2021-10-01 18:48:39 +000082 ],
ramindani3335f7a2021-10-25 17:22:35 +000083 cflags: [
84 "-Wconversion",
85 ],
ramindanid32ae8e2021-10-01 18:48:39 +000086 test_suites: [
87 "general-tests",
88 "vts",
89 ],
90}