ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 1 | /** |
| 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 | |
| 17 | package { |
Aditya Choudhary | c5c6c62 | 2024-01-31 11:06:17 +0000 | [diff] [blame] | 18 | default_team: "trendy_team_android_core_graphics_stack", |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 19 | // 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: |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 23 | // SPDX-license-identifier-Apache-2.0 |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 24 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 25 | } |
| 26 | |
| 27 | cc_test { |
| 28 | name: "VtsHalGraphicsComposer3_TargetTest", |
| 29 | defaults: [ |
| 30 | "VtsHalTargetTestDefaults", |
| 31 | "use_libaidlvintf_gtest_helper_static", |
Nolan Scobie | a61ca2a | 2022-12-07 11:48:27 -0500 | [diff] [blame] | 32 | "librenderengine_deps", |
Sally Qi | 784c253 | 2022-08-22 13:50:32 -0700 | [diff] [blame] | 33 | "android.hardware.graphics.common-ndk_static", |
| 34 | "android.hardware.graphics.composer3-ndk_static", |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 35 | ], |
ramindani | 1cb794e | 2021-10-13 20:45:23 +0000 | [diff] [blame] | 36 | srcs: [ |
| 37 | "VtsHalGraphicsComposer3_TargetTest.cpp", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 38 | "VtsHalGraphicsComposer3_ReadbackTest.cpp", |
ramindani | 458e53e | 2022-02-23 17:30:16 +0000 | [diff] [blame] | 39 | "GraphicsComposerCallback.cpp", |
| 40 | "ReadbackVts.cpp", |
| 41 | "RenderEngineVts.cpp", |
| 42 | "VtsComposerClient.cpp", |
ramindani | 1cb794e | 2021-10-13 20:45:23 +0000 | [diff] [blame] | 43 | ], |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 44 | |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 45 | shared_libs: [ |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 46 | "libEGL", |
| 47 | "libGLESv1_CM", |
| 48 | "libGLESv2", |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 49 | "libbinder_ndk", |
| 50 | "libbinder", |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 51 | "libfmq", |
| 52 | "libbase", |
| 53 | "libsync", |
| 54 | "libui", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 55 | "libgui", |
| 56 | "libhidlbase", |
| 57 | "libprocessgroup", |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 58 | "libvndksupport", |
Leon Scroggins III | 63c8fea | 2024-02-02 13:03:43 -0500 | [diff] [blame] | 59 | "server_configurable_flags", |
Vishnu Nair | 4bb9693 | 2024-07-16 03:41:07 +0000 | [diff] [blame] | 60 | "libtracing_perfetto", |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 61 | ], |
| 62 | header_libs: [ |
| 63 | "android.hardware.graphics.composer3-command-buffer", |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 64 | ], |
| 65 | static_libs: [ |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 66 | "android.hardware.graphics.common@1.2", |
| 67 | "android.hardware.common-V2-ndk", |
| 68 | "android.hardware.common.fmq-V1-ndk", |
Huihong Luo | 3a42a8a | 2023-12-13 10:07:22 -0800 | [diff] [blame] | 69 | "android.hardware.drm.common-V1-ndk", |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 70 | "libaidlcommonsupport", |
ramindani | edf3ef9 | 2022-01-07 00:04:23 +0000 | [diff] [blame] | 71 | "libarect", |
| 72 | "libbase", |
| 73 | "libfmq", |
Brian Lindahl | 5054e3b | 2024-11-20 09:01:52 -0700 | [diff] [blame] | 74 | "libgmock", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 75 | "libgtest", |
ramindani | edf3ef9 | 2022-01-07 00:04:23 +0000 | [diff] [blame] | 76 | "libmath", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 77 | "librenderengine", |
| 78 | "libshaders", |
ramindani | edf3ef9 | 2022-01-07 00:04:23 +0000 | [diff] [blame] | 79 | "libsync", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 80 | "libtonemap", |
Leon Scroggins III | 63c8fea | 2024-02-02 13:03:43 -0500 | [diff] [blame] | 81 | "libsurfaceflinger_common", |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 82 | ], |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 83 | cflags: [ |
| 84 | "-Wconversion", |
| 85 | ], |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 86 | test_suites: [ |
| 87 | "general-tests", |
| 88 | "vts", |
| 89 | ], |
| 90 | } |