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 20java_test_host { 21 name: "SdkSandboxRestrictionsHostTest", 22 srcs: ["src/**/SdkSandboxRestrictionsHostTest.java"], 23 libs: [ 24 "tradefed", 25 ], 26 static_libs: [ 27 "cts-install-lib-host", 28 "modules-utils-build-testing", 29 "SdkSandboxHostTestUtils", 30 ], 31 test_suites: ["general-tests"], 32 device_common_data: [ 33 ":RestrictionsProvider", 34 ":SdkSandboxRestrictionsTestApp", 35 ], 36} 37 38android_test_helper_app { 39 name: "SdkSandboxRestrictionsTestApp", 40 manifest: "app/AndroidTest.xml", 41 srcs: [ 42 "app/src/**/SdkSandboxRestrictionsTestApp.java", 43 ":framework-sdksandbox-sources", 44 ":sdksandbox_aidl", 45 ":sdksandbox-sources", 46 ], 47 defaults: ["framework-sdksandbox-jarjar-defaults"], 48 static_libs: [ 49 "androidx.core_core", 50 "androidx.test.ext.junit", 51 "androidx.test.rules", 52 "compatibility-device-util-axt", 53 "SdkSandboxTestUtils", 54 "RestrictionsSdkApi", 55 ], 56 min_sdk_version: "33", 57 target_sdk_version: "33", 58 test_suites: ["general-tests"], 59} 60