packages/modules/SdkExtensions/javatests/com/android/sdkext/extensions/apps/Android.bp

61 lines
1.8 KiB
Plaintext
Raw Normal View History

2025-08-25 08:38:42 +08:00
// Copyright (C) 2021 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test_helper_app {
name: "sdkextensions_e2e_test_app",
srcs: ["Receiver.java"],
libs: [
"framework-sdkextensions",
// Depend on the impl library directly so that its tests can try and
// invoke methods which it is not allowed to use to verify that the
// runtime correctly refuses access to them.
"test_framework-sdkextensions.impl",
],
static_libs: ["modules-utils-build_system"],
sdk_version: "module_current",
min_sdk_version: "30",
}
android_test_helper_app {
name: "sdkextensions_e2e_test_app_req_r12",
sdk_version: "current",
manifest: "AndroidManifest-r12.xml",
min_sdk_version: "30",
}
android_test_helper_app {
name: "sdkextensions_e2e_test_app_req_s12",
sdk_version: "current",
manifest: "AndroidManifest-s12.xml",
min_sdk_version: "30",
}
android_test_helper_app {
name: "sdkextensions_e2e_test_app_req_r45",
sdk_version: "current",
manifest: "AndroidManifest-r45.xml",
min_sdk_version: "30",
}
android_test_helper_app {
name: "sdkextensions_e2e_test_app_req_s45",
sdk_version: "current",
manifest: "AndroidManifest-s45.xml",
min_sdk_version: "30",
}