summaryrefslogtreecommitdiff
path: root/packages/BackupEncryption/Android.bp
diff options
context:
space:
mode:
authorAl Sutton <alsutton@google.com>2019-08-20 15:43:30 +0100
committerAl Sutton <alsutton@google.com>2019-09-06 11:12:23 +0100
commitc949517f4d7f29778e201875e57fc900b57f3cf3 (patch)
tree56fba2662aaeaef67e1d52be8baae4d7b58fb3d7 /packages/BackupEncryption/Android.bp
parentad52c6bc3a56f8ec7b7c32e38fe28659cbba7109 (diff)
Migrate KeyWrapUtils
Bring KeyWrapUtils in from GMSCore. This class relies heavily on a set of protobufs, so this CL includes the creation of the protobuf target support it and the inclusion of that target in the tests. Bug: 111386661 Test: atest BackupFrameworksServicesRoboTests Change-Id: I89e0c68a449f784b132780410d9de32824bb674a
Diffstat (limited to 'packages/BackupEncryption/Android.bp')
-rw-r--r--packages/BackupEncryption/Android.bp9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/BackupEncryption/Android.bp b/packages/BackupEncryption/Android.bp
index 50dbcdb1b4c7..9bcd677538eb 100644
--- a/packages/BackupEncryption/Android.bp
+++ b/packages/BackupEncryption/Android.bp
@@ -17,8 +17,15 @@
android_app {
name: "BackupEncryption",
srcs: ["src/**/*.java"],
+ libs: ["backup-encryption-protos"],
optimize: { enabled: false },
platform_apis: true,
certificate: "platform",
privileged: true,
-} \ No newline at end of file
+}
+
+java_library {
+ name: "backup-encryption-protos",
+ proto: { type: "nano" },
+ srcs: ["proto/**/*.proto"],
+}