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_team: "trendy_team_rubidium_sdk_runtime", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test_helper_app { 21 name: "SdkSandboxManagerCtsProvider", 22 defaults: ["platform_app_defaults"], 23 certificate: ":sdksandbox-test", 24 srcs: [ 25 "src/**/*.java", 26 ], 27 static_libs: [ 28 "SdkSandbox-java-lib", 29 "CtsSdkProviderApi", 30 "androidx.sqlite_sqlite", 31 "truth", 32 "androidx.room_room-runtime", 33 ], 34 plugins: ["androidx.room_room-compiler-plugin"], 35 resource_dirs: ["res"], 36 min_sdk_version: "33", 37 target_sdk_version: "33", 38} 39 40java_library { 41 name: "CtsSdkProviderApi", 42 srcs: [ 43 "src/**/*.aidl", 44 ], 45} 46 47android_test_helper_app { 48 name: "CtsSdkProviderAppWithoutSdkProviderClassNameProperty", 49 certificate: ":sdksandbox-test", 50 defaults: ["platform_app_defaults"], 51 manifest: "AndroidManifestWithoutSdkProviderClassNameProperty.xml", 52 sdk_version: "current", 53 compile_dex: true, 54 dex_preopt: { 55 enabled: true, 56 }, 57 test_suites: ["general-tests"], 58 min_sdk_version: "33", 59 target_sdk_version: "33", 60} 61