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