Files
frameworks_base/packages/BackupEncryption/test/robolectric/Android.bp
Al Sutton e5dc5a74ab Import KvBackupEncrypter
We're now at a place where need to stop using the core services
Robolectric shadows because we have shadow collision.

Bug: 111386661
Test: make RunBackupEncryptionRoboTests
Change-Id: I8aa4486eb1bb42767939ef3bd2a0e5dd083e309d
2019-09-24 12:49:05 +00:00

40 lines
1.2 KiB
Plaintext

// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
android_robolectric_test {
name: "BackupEncryptionRoboTests",
srcs: [
"src/**/*.java",
// ":FrameworksServicesRoboShadows",
],
java_resource_dirs: ["config"],
libs: [
"backup-encryption-protos",
"platform-test-annotations",
"testng",
"truth-prebuilt",
],
static_libs: [
"androidx.test.core",
"androidx.test.runner",
"androidx.test.rules",
],
instrumentation_for: "BackupEncryption",
}
filegroup {
name: "BackupEncryptionRoboShadows",
srcs: ["src/com/android/server/testing/shadows/**/*.java"],
}