1// Copyright (C) 2022 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 19android_test_helper_app { 20 name: "ShortFgsTestHelper", 21 defaults: ["cts_support_defaults"], 22 libs: [ 23 "android.test.runner", 24 "android.test.base", 25 ], 26 static_libs: [ 27 "androidx.test.rules", 28 "compatibility-device-util-axt", 29 ], 30 srcs: [ 31 "src/**/*.java", 32 ], 33 test_suites: [ 34 "general-tests", 35 "sts", 36 ], 37 platform_apis: true, 38} 39 40// Second test package, it's used only to host a bound service that's bound by ShortFgsTestHelper. 41android_test_helper_app { 42 name: "ShortFgsTestHelper2", 43 package_name: "android.app.cts.shortfgstesthelper2", 44 45 defaults: ["cts_support_defaults"], 46 libs: [ 47 "android.test.runner", 48 "android.test.base", 49 ], 50 static_libs: [ 51 "androidx.test.rules", 52 "compatibility-device-util-axt", 53 ], 54 srcs: [ 55 "src/**/*.java", 56 ], 57 test_suites: [ 58 "general-tests", 59 "sts", 60 ], 61 platform_apis: true, 62} 63