1// Copyright (C) 2017 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 default_team: "trendy_team_android_onboarding", 18} 19 20java_test_host { 21 name: "CtsBackupHostTestCases", 22 srcs: ["src/**/*.java"], 23 // tag this module as a cts test artifact 24 test_suites: [ 25 "cts", 26 "general-tests", 27 "mts-permission", 28 "sts", 29 ], 30 libs: [ 31 "cts-tradefed", 32 "tradefed", 33 "compatibility-host-util", 34 ], 35 static_libs: [ 36 "truth", 37 "platformprotos", 38 ], 39 data: [ 40 ":AdbBackupApp", 41 ":BackupAllowedApp", 42 ":BackupNotAllowedApp", 43 ":CtsAutoRestoreApp", 44 ":CtsBackupOtherSoundsSettingsApp", 45 ":CtsBackupRestoreAnyVersionApp", 46 ":CtsBackupRestoreAnyVersionAppUpdate", 47 ":CtsBackupRestoreAnyVersionNoRestoreApp", 48 ":CtsBackupSuccessNotificationApp", 49 ":CtsBackupSyncAdapterSettingsApp", 50 ":CtsBackupTransportApp", 51 ":CtsDataExtractionRulesApp", 52 ":CtsDataExtractionRulesApplicabilityApp", 53 ":CtsEncryptionAttributeApp", 54 ":CtsFullBackupContentApp", 55 ":CtsHostsideTestsFullBackupApp", 56 ":CtsKeyValueBackupRestoreApp", 57 ":CtsPreservedSettingsApp", 58 ":CtsProfileFullBackupApp", 59 ":CtsProfileKeyValueApp", 60 ":CtsProfileSerialNumberApp", 61 ":CtsRestoreSessionApp", 62 ":CtsRestoreSessionApp1", 63 ":CtsRestoreSessionApp2", 64 ":CtsSharedPreferencesRestoreApp", 65 ":DebuggableApp", 66 ":FullBackupOnlyFalseNoAgentApp", 67 ":FullBackupOnlyFalseWithAgentApp", 68 ":FullBackupOnlyTrueWithAgentApp", 69 ":NonDebuggableApp", 70 ], 71 per_testcase_directory: true, 72} 73