blob: cdc7a9302546257d655d6613fc3cecc451174699 [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",
Sally Qia1c66a22022-08-30 15:13:10 -070030 "android.hardware.graphics.allocator-ndk_static",
31 "android.hardware.graphics.composer3-ndk_static",
John Reck066a7d92020-09-14 13:26:30 -070032 // Needed for librenderengine
33 "skia_deps",
34 ],
Chih-Hung Hsiehad1bf312022-02-17 21:56:13 -080035 tidy_timeout_srcs: [
36 "VtsHalGraphicsComposerV2_2ReadbackTest.cpp",
37 "VtsHalGraphicsComposerV2_2TargetTest.cpp",
38 ],
Valerie Hau667f11a2018-08-01 12:58:44 -070039 srcs: [
40 "VtsHalGraphicsComposerV2_2ReadbackTest.cpp",
Dan Shib5fd31a2020-01-31 14:08:05 -080041 "VtsHalGraphicsComposerV2_2TargetTest.cpp",
Valerie Hau667f11a2018-08-01 12:58:44 -070042 ],
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080043
44 // TODO(b/64437680): Assume these libs are always available on the device.
45 shared_libs: [
Adam Bodnard0aef4d2019-07-11 10:35:42 -070046 "libEGL",
47 "libGLESv1_CM",
48 "libGLESv2",
Dan Shie25724e2020-11-03 11:02:20 -080049 "libbase",
Alec Mouri38ccfd72022-05-16 20:20:28 +000050 "libbinder_ndk",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080051 "libfmq",
Adam Bodnard0aef4d2019-07-11 10:35:42 -070052 "libgui",
Steven Moreland085a82e2019-06-10 13:44:19 -070053 "libhidlbase",
Alec Mouri45a70ce2019-08-05 16:55:12 -070054 "libprocessgroup",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080055 "libsync",
Adam Bodnar5bf9dc62019-05-24 09:20:04 -070056 "libui",
Alec Mouri38ccfd72022-05-16 20:20:28 +000057 "android.hardware.common-V2-ndk",
Naseer Ahmedfbcb5a82020-06-23 16:31:44 -040058 "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",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080062 ],
63 static_libs: [
64 "android.hardware.graphics.allocator@2.0",
Valerie Hauc1dc3132019-06-13 09:49:44 -070065 "android.hardware.graphics.allocator@3.0",
Marissa Wall53aff112019-06-20 13:49:21 -070066 "android.hardware.graphics.allocator@4.0",
Peiyong Lina2acfa22018-03-28 12:09:42 -070067 "android.hardware.graphics.common@1.1",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080068 "android.hardware.graphics.composer@2.1",
Chia-I Wu96a098a2018-01-25 10:38:06 -080069 "android.hardware.graphics.composer@2.1-vts",
70 "android.hardware.graphics.composer@2.2",
71 "android.hardware.graphics.composer@2.2-vts",
Alec Mouri55f76ca2022-03-24 20:05:25 +000072 "android.hardware.graphics.composer3-V1-ndk",
Chia-I Wu98923fc2018-01-14 21:45:18 -080073 "android.hardware.graphics.mapper@2.0-vts",
Peiyong Lina2acfa22018-03-28 12:09:42 -070074 "android.hardware.graphics.mapper@2.1-vts",
Valerie Hauc1dc3132019-06-13 09:49:44 -070075 "android.hardware.graphics.mapper@3.0-vts",
Marissa Wall53aff112019-06-20 13:49:21 -070076 "android.hardware.graphics.mapper@4.0-vts",
Alec Mouri38ccfd72022-05-16 20:20:28 +000077 "libaidlcommonsupport",
Dan Shib5fd31a2020-01-31 14:08:05 -080078 "libgtest",
79 "librenderengine",
Alec Mouriece0bc32021-11-23 13:26:43 -080080 "libshaders",
Alec Mouri256264d2021-10-29 14:39:00 -070081 "libtonemap",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080082 ],
83 header_libs: [
84 "android.hardware.graphics.composer@2.1-command-buffer",
85 "android.hardware.graphics.composer@2.2-command-buffer",
86 ],
Dan Shif2ee9c12019-11-01 15:03:03 -070087 disable_framework: true,
Dan Shib5fd31a2020-01-31 14:08:05 -080088 test_suites: [
89 "general-tests",
Dan Shi3a8a6502020-03-26 00:06:39 -070090 "vts",
Dan Shib5fd31a2020-01-31 14:08:05 -080091 ],
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080092}