1// Copyright (C) 2021 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19java_test_host { 20 name: "CuttlefishDisplayHotplugTest", 21 defaults: [ 22 "cuttlefish_host_test_utils_defaults", 23 ], 24 srcs: [ 25 "src/com/android/cuttlefish/tests/CuttlefishDisplayHotplugTest.java", 26 ], 27 test_options: { 28 unit_test: false, 29 }, 30 test_suites: [ 31 "device-tests", 32 ], 33 libs: [ 34 "compatibility-host-util", 35 "cts-tradefed", 36 "tradefed", 37 ], 38 plugins: [ 39 "auto_annotation_plugin", 40 "auto_value_plugin", 41 ], 42 device_common_data: [ 43 ":CuttlefishDisplayHotplugHelperApp", 44 ], 45} 46 47java_test_host { 48 name: "CuttlefishDisplayTests", 49 defaults: [ 50 "cuttlefish_host_test_utils_defaults", 51 ], 52 srcs: [ 53 "src/com/android/cuttlefish/tests/CuttlefishDisplayTests.java", 54 ], 55 test_options: { 56 unit_test: false, 57 }, 58 test_suites: [ 59 "device-tests", 60 ], 61 libs: [ 62 "compatibility-host-util", 63 "cts-tradefed", 64 "tradefed", 65 ], 66 plugins: [ 67 "auto_annotation_plugin", 68 "auto_value_plugin", 69 ], 70 device_common_data: [ 71 ":CuttlefishVulkanSamplesFullscreenColor", 72 ], 73} 74 75java_test_host { 76 name: "CuttlefishGraphicsConfigurationTest", 77 srcs: [ 78 "src/com/android/cuttlefish/tests/CuttlefishGraphicsConfigurationTest.java", 79 ], 80 test_options: { 81 unit_test: false, 82 }, 83 test_suites: [ 84 "device-tests", 85 ], 86 libs: [ 87 "tradefed", 88 ], 89} 90 91java_test_host { 92 name: "CuttlefishVulkanSnapshotTests", 93 defaults: [ 94 "cuttlefish_host_test_utils_defaults", 95 ], 96 srcs: [ 97 "src/com/android/cuttlefish/tests/CuttlefishVulkanSnapshotTests.java", 98 ], 99 test_suites: [ 100 "device-tests", 101 ], 102 libs: [ 103 "tradefed", 104 ], 105 plugins: [ 106 "auto_annotation_plugin", 107 "auto_value_plugin", 108 ], 109 device_common_data: [ 110 ":CuttlefishVulkanSamplesFullscreenColor", 111 ":CuttlefishVulkanSamplesFullscreenTexture", 112 ":CuttlefishVulkanSamplesSecondaryCommandBuffer", 113 ], 114} 115