1// Copyright (C) 2019 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 default_team: "trendy_team_system_intelligence", 18} 19 20java_library { 21 name: "CtsAttentionServiceDevice", 22 srcs: ["src/**/CtsTestAttentionService.java"], 23 sdk_version: "test_current", 24 static_libs: [ 25 "androidx.test.rules", 26 "androidx.test.ext.junit", 27 "compatibility-device-util-axt", 28 "platform-test-annotations", 29 ], 30} 31 32android_test { 33 name: "CtsAttentionServiceDeviceTestCases", 34 defaults: ["cts_defaults"], 35 dex_preopt: { 36 enabled: false, 37 }, 38 optimize: { 39 enabled: false, 40 }, 41 static_libs: [ 42 "androidx.test.rules", 43 "androidx.test.ext.junit", 44 "compatibility-device-util-axt", 45 "platform-test-annotations", 46 ], 47 srcs: ["src/**/*.java"], 48 // Tag this module as a cts test artifact 49 test_suites: ["cts"], 50 // sdk_version: "system_current", 51 sdk_version: "test_current", 52} 53