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_team: "trendy_team_updatable_sdk_apis", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test_helper_app { 21 name: "sdkextensions_e2e_test_app", 22 srcs: ["Receiver.java"], 23 libs: [ 24 "framework-sdkextensions", 25 // Depend on the impl library directly so that its tests can try and 26 // invoke methods which it is not allowed to use to verify that the 27 // runtime correctly refuses access to them. 28 "test_framework-sdkextensions.impl", 29 ], 30 static_libs: ["modules-utils-build_system"], 31 sdk_version: "module_current", 32 min_sdk_version: "30", 33} 34 35android_test_helper_app { 36 name: "sdkextensions_e2e_test_app_req_r12", 37 sdk_version: "current", 38 manifest: "AndroidManifest-r12.xml", 39 min_sdk_version: "30", 40} 41 42android_test_helper_app { 43 name: "sdkextensions_e2e_test_app_req_s12", 44 sdk_version: "current", 45 manifest: "AndroidManifest-s12.xml", 46 min_sdk_version: "30", 47} 48 49android_test_helper_app { 50 name: "sdkextensions_e2e_test_app_req_r45", 51 sdk_version: "current", 52 manifest: "AndroidManifest-r45.xml", 53 min_sdk_version: "30", 54} 55 56android_test_helper_app { 57 name: "sdkextensions_e2e_test_app_req_s45", 58 sdk_version: "current", 59 manifest: "AndroidManifest-s45.xml", 60 min_sdk_version: "30", 61} 62