Al Sutton | ad52c6b | 2019-09-04 16:21:28 +0100 | [diff] [blame] | 1 | // 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 Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame^] | 15 | package { |
| 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 Sutton | ad52c6b | 2019-09-04 16:21:28 +0100 | [diff] [blame] | 24 | android_robolectric_test { |
| 25 | name: "BackupEncryptionRoboTests", |
| 26 | srcs: [ |
| 27 | "src/**/*.java", |
Al Sutton | e5dc5a7 | 2019-09-23 16:41:07 +0100 | [diff] [blame] | 28 | // ":FrameworksServicesRoboShadows", |
Al Sutton | ad52c6b | 2019-09-04 16:21:28 +0100 | [diff] [blame] | 29 | ], |
| 30 | java_resource_dirs: ["config"], |
| 31 | libs: [ |
Al Sutton | c949517 | 2019-08-20 15:43:30 +0100 | [diff] [blame] | 32 | "backup-encryption-protos", |
Al Sutton | ad52c6b | 2019-09-04 16:21:28 +0100 | [diff] [blame] | 33 | "platform-test-annotations", |
| 34 | "testng", |
Al Sutton | 282b406 | 2019-08-21 16:22:55 +0100 | [diff] [blame] | 35 | "truth-prebuilt", |
Al Sutton | ad52c6b | 2019-09-04 16:21:28 +0100 | [diff] [blame] | 36 | ], |
Al Sutton | 53b1c12 | 2019-09-09 13:07:12 +0100 | [diff] [blame] | 37 | static_libs: [ |
| 38 | "androidx.test.core", |
| 39 | "androidx.test.runner", |
| 40 | "androidx.test.rules", |
| 41 | ], |
Al Sutton | ad52c6b | 2019-09-04 16:21:28 +0100 | [diff] [blame] | 42 | instrumentation_for: "BackupEncryption", |
| 43 | } |
| 44 | |
| 45 | filegroup { |
| 46 | name: "BackupEncryptionRoboShadows", |
| 47 | srcs: ["src/com/android/server/testing/shadows/**/*.java"], |
| 48 | } |