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 { |
| 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: |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 22 | // SPDX-license-identifier-Apache-2.0 |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 23 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 24 | } |
| 25 | |
| 26 | cc_test { |
| 27 | name: "VtsHalGraphicsComposer3_TargetTest", |
| 28 | defaults: [ |
| 29 | "VtsHalTargetTestDefaults", |
| 30 | "use_libaidlvintf_gtest_helper_static", |
Nolan Scobie | a61ca2a | 2022-12-07 11:48:27 -0500 | [diff] [blame] | 31 | "librenderengine_deps", |
Sally Qi | 784c253 | 2022-08-22 13:50:32 -0700 | [diff] [blame] | 32 | "android.hardware.graphics.common-ndk_static", |
| 33 | "android.hardware.graphics.composer3-ndk_static", |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 34 | ], |
ramindani | 1cb794e | 2021-10-13 20:45:23 +0000 | [diff] [blame] | 35 | srcs: [ |
| 36 | "VtsHalGraphicsComposer3_TargetTest.cpp", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 37 | "VtsHalGraphicsComposer3_ReadbackTest.cpp", |
ramindani | 458e53e | 2022-02-23 17:30:16 +0000 | [diff] [blame] | 38 | "GraphicsComposerCallback.cpp", |
| 39 | "ReadbackVts.cpp", |
| 40 | "RenderEngineVts.cpp", |
| 41 | "VtsComposerClient.cpp", |
ramindani | 1cb794e | 2021-10-13 20:45:23 +0000 | [diff] [blame] | 42 | ], |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 43 | |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 44 | shared_libs: [ |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 45 | "libEGL", |
| 46 | "libGLESv1_CM", |
| 47 | "libGLESv2", |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 48 | "libbinder_ndk", |
| 49 | "libbinder", |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 50 | "libfmq", |
| 51 | "libbase", |
| 52 | "libsync", |
| 53 | "libui", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 54 | "libgui", |
| 55 | "libhidlbase", |
| 56 | "libprocessgroup", |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 57 | "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", |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 68 | ], |
| 69 | static_libs: [ |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 70 | "android.hardware.graphics.common@1.2", |
| 71 | "android.hardware.common-V2-ndk", |
| 72 | "android.hardware.common.fmq-V1-ndk", |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 73 | "android.hardware.graphics.allocator@2.0", |
| 74 | "android.hardware.graphics.allocator@3.0", |
| 75 | "android.hardware.graphics.allocator@4.0", |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 76 | "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", |
ramindani | edf3ef9 | 2022-01-07 00:04:23 +0000 | [diff] [blame] | 81 | "libarect", |
| 82 | "libbase", |
| 83 | "libfmq", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 84 | "libgtest", |
ramindani | edf3ef9 | 2022-01-07 00:04:23 +0000 | [diff] [blame] | 85 | "libmath", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 86 | "librenderengine", |
| 87 | "libshaders", |
ramindani | edf3ef9 | 2022-01-07 00:04:23 +0000 | [diff] [blame] | 88 | "libsync", |
ramindani | bab8ba9 | 2021-11-18 01:24:11 +0000 | [diff] [blame] | 89 | "libtonemap", |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 90 | ], |
ramindani | 3335f7a | 2021-10-25 17:22:35 +0000 | [diff] [blame] | 91 | cflags: [ |
| 92 | "-Wconversion", |
| 93 | ], |
ramindani | d32ae8e | 2021-10-01 18:48:39 +0000 | [diff] [blame] | 94 | test_suites: [ |
| 95 | "general-tests", |
| 96 | "vts", |
| 97 | ], |
| 98 | } |