blob: 7665d8f4e4c2e7b519b87b7ee2d700dafaa5a64c [file] [log] [blame]
Al Suttonad52c6b2019-09-04 16:21:28 +01001// Copyright (C) 2018 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
Bob Badoure539dba2021-02-12 17:07:05 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_base_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_base_license"],
22}
23
Al Suttonad52c6b2019-09-04 16:21:28 +010024android_robolectric_test {
25 name: "BackupEncryptionRoboTests",
26 srcs: [
27 "src/**/*.java",
Al Suttone5dc5a72019-09-23 16:41:07 +010028// ":FrameworksServicesRoboShadows",
Al Suttonad52c6b2019-09-04 16:21:28 +010029 ],
30 java_resource_dirs: ["config"],
31 libs: [
Al Suttonc9495172019-08-20 15:43:30 +010032 "backup-encryption-protos",
Al Suttonad52c6b2019-09-04 16:21:28 +010033 "platform-test-annotations",
34 "testng",
Al Sutton282b4062019-08-21 16:22:55 +010035 "truth-prebuilt",
Al Suttonad52c6b2019-09-04 16:21:28 +010036 ],
Al Sutton53b1c122019-09-09 13:07:12 +010037 static_libs: [
38 "androidx.test.core",
39 "androidx.test.runner",
40 "androidx.test.rules",
41 ],
Al Suttonad52c6b2019-09-04 16:21:28 +010042 instrumentation_for: "BackupEncryption",
43}
44
45filegroup {
46 name: "BackupEncryptionRoboShadows",
47 srcs: ["src/com/android/server/testing/shadows/**/*.java"],
48}