blob: 960b62da8af1b96cab35a6f0d7af3c13cbc94a1f [file] [log] [blame]
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -08001//
2// Copyright (C) 2018 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
Bob Badourc22b35b2021-02-23 14:26:20 -080017package {
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:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["hardware_interfaces_license"],
24}
25
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080026cc_test {
27 name: "VtsHalGraphicsComposerV2_2TargetTest",
John Reck066a7d92020-09-14 13:26:30 -070028 defaults: [
29 "VtsHalTargetTestDefaults",
30 // Needed for librenderengine
31 "skia_deps",
32 ],
Chih-Hung Hsiehad1bf312022-02-17 21:56:13 -080033 tidy_timeout_srcs: [
34 "VtsHalGraphicsComposerV2_2ReadbackTest.cpp",
35 "VtsHalGraphicsComposerV2_2TargetTest.cpp",
36 ],
Valerie Hau667f11a2018-08-01 12:58:44 -070037 srcs: [
38 "VtsHalGraphicsComposerV2_2ReadbackTest.cpp",
Dan Shib5fd31a2020-01-31 14:08:05 -080039 "VtsHalGraphicsComposerV2_2TargetTest.cpp",
Valerie Hau667f11a2018-08-01 12:58:44 -070040 ],
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080041
42 // TODO(b/64437680): Assume these libs are always available on the device.
43 shared_libs: [
Adam Bodnard0aef4d2019-07-11 10:35:42 -070044 "libEGL",
45 "libGLESv1_CM",
46 "libGLESv2",
Dan Shie25724e2020-11-03 11:02:20 -080047 "libbase",
Alec Mouri38ccfd72022-05-16 20:20:28 +000048 "libbinder_ndk",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080049 "libfmq",
Adam Bodnard0aef4d2019-07-11 10:35:42 -070050 "libgui",
Steven Moreland085a82e2019-06-10 13:44:19 -070051 "libhidlbase",
Alec Mouri45a70ce2019-08-05 16:55:12 -070052 "libprocessgroup",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080053 "libsync",
Adam Bodnar5bf9dc62019-05-24 09:20:04 -070054 "libui",
Alec Mouri38ccfd72022-05-16 20:20:28 +000055 "android.hardware.common-V2-ndk",
Naseer Ahmedfbcb5a82020-06-23 16:31:44 -040056 "android.hardware.graphics.mapper@2.0",
57 "android.hardware.graphics.mapper@2.1",
58 "android.hardware.graphics.mapper@3.0",
59 "android.hardware.graphics.mapper@4.0",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080060 ],
61 static_libs: [
Alec Mouri38ccfd72022-05-16 20:20:28 +000062 "android.hardware.graphics.allocator-V1-ndk",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080063 "android.hardware.graphics.allocator@2.0",
Valerie Hauc1dc3132019-06-13 09:49:44 -070064 "android.hardware.graphics.allocator@3.0",
Marissa Wall53aff112019-06-20 13:49:21 -070065 "android.hardware.graphics.allocator@4.0",
Peiyong Lina2acfa22018-03-28 12:09:42 -070066 "android.hardware.graphics.common@1.1",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080067 "android.hardware.graphics.composer@2.1",
Chia-I Wu96a098a2018-01-25 10:38:06 -080068 "android.hardware.graphics.composer@2.1-vts",
69 "android.hardware.graphics.composer@2.2",
70 "android.hardware.graphics.composer@2.2-vts",
Alec Mouri55f76ca2022-03-24 20:05:25 +000071 "android.hardware.graphics.composer3-V1-ndk",
Chia-I Wu98923fc2018-01-14 21:45:18 -080072 "android.hardware.graphics.mapper@2.0-vts",
Peiyong Lina2acfa22018-03-28 12:09:42 -070073 "android.hardware.graphics.mapper@2.1-vts",
Valerie Hauc1dc3132019-06-13 09:49:44 -070074 "android.hardware.graphics.mapper@3.0-vts",
Marissa Wall53aff112019-06-20 13:49:21 -070075 "android.hardware.graphics.mapper@4.0-vts",
Alec Mouri38ccfd72022-05-16 20:20:28 +000076 "libaidlcommonsupport",
Dan Shib5fd31a2020-01-31 14:08:05 -080077 "libgtest",
78 "librenderengine",
Alec Mouriece0bc32021-11-23 13:26:43 -080079 "libshaders",
Alec Mouri256264d2021-10-29 14:39:00 -070080 "libtonemap",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080081 ],
82 header_libs: [
83 "android.hardware.graphics.composer@2.1-command-buffer",
84 "android.hardware.graphics.composer@2.2-command-buffer",
85 ],
Dan Shif2ee9c12019-11-01 15:03:03 -070086 disable_framework: true,
Dan Shib5fd31a2020-01-31 14:08:05 -080087 test_suites: [
88 "general-tests",
Dan Shi3a8a6502020-03-26 00:06:39 -070089 "vts",
Dan Shib5fd31a2020-01-31 14:08:05 -080090 ],
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080091}