blob: 60360fd5963e75f268f7c6daf601c59ee6fd9545 [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",
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: [
ramindanid32ae8e2021-10-01 18:48:39 +000070 "android.hardware.graphics.common@1.2",
71 "android.hardware.common-V2-ndk",
72 "android.hardware.common.fmq-V1-ndk",
ramindani3335f7a2021-10-25 17:22:35 +000073 "android.hardware.graphics.allocator@2.0",
74 "android.hardware.graphics.allocator@3.0",
75 "android.hardware.graphics.allocator@4.0",
ramindani3335f7a2021-10-25 17:22:35 +000076 "android.hardware.graphics.mapper@2.0-vts",
77 "android.hardware.graphics.mapper@2.1-vts",
78 "android.hardware.graphics.mapper@3.0-vts",
79 "android.hardware.graphics.mapper@4.0-vts",
80 "libaidlcommonsupport",
ramindaniedf3ef92022-01-07 00:04:23 +000081 "libarect",
82 "libbase",
83 "libfmq",
ramindanibab8ba92021-11-18 01:24:11 +000084 "libgtest",
ramindaniedf3ef92022-01-07 00:04:23 +000085 "libmath",
ramindanibab8ba92021-11-18 01:24:11 +000086 "librenderengine",
87 "libshaders",
ramindaniedf3ef92022-01-07 00:04:23 +000088 "libsync",
ramindanibab8ba92021-11-18 01:24:11 +000089 "libtonemap",
ramindanid32ae8e2021-10-01 18:48:39 +000090 ],
ramindani3335f7a2021-10-25 17:22:35 +000091 cflags: [
92 "-Wconversion",
93 ],
ramindanid32ae8e2021-10-01 18:48:39 +000094 test_suites: [
95 "general-tests",
96 "vts",
97 ],
98}