summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-13 08:27:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-13 08:27:54 +0000
commit3340fd94aaf25d45394eb6bf68bffd7f78ecbc1b (patch)
tree52664e019d73cd7d6e056fcc602328eb94ad0986
parent5804cc9ce65dd67b150f5bbf2818586cd95dce58 (diff)
parent1aeee25caeb78b514e42efa7e6d5dee391055aa0 (diff)
downloadRemoteKeyProvisioning-3340fd94aaf25d45394eb6bf68bffd7f78ecbc1b.tar.gz
Merge "Revert "[avf] Add rkpdapp variation for e2e VM attestation test"" into main
-rw-r--r--app/Android.bp24
-rw-r--r--app/AndroidManifest.avf.xml24
2 files changed, 6 insertions, 42 deletions
diff --git a/app/Android.bp b/app/Android.bp
index 9cfffdb..2f7aef9 100644
--- a/app/Android.bp
+++ b/app/Android.bp
@@ -56,9 +56,13 @@ sdk {
apexes: ["com.android.rkpd"],
}
-java_defaults {
- name: "rkpdapp_defaults",
+android_app {
+ name: "rkpdapp",
sdk_version: "module_current",
+ target_sdk_version: "34",
+ min_sdk_version: "33",
+ updatable: false,
+ privileged: true,
libs: [
"framework-annotations-lib",
"framework-connectivity",
@@ -83,15 +87,6 @@ java_defaults {
plugins: [
"androidx.room_room-compiler-plugin",
],
-}
-
-android_app {
- name: "rkpdapp",
- defaults: ["rkpdapp_defaults"],
- target_sdk_version: "34",
- min_sdk_version: "33",
- updatable: false,
- privileged: true,
apex_available: [
"com.android.rkpd",
],
@@ -99,10 +94,3 @@ android_app {
strict_updatability_linting: true,
},
}
-
-android_test_helper_app {
- name: "avf-rkpdapp",
- defaults: ["rkpdapp_defaults"],
- additional_manifests: ["AndroidManifest.avf.xml"],
- visibility: ["//packages/modules/Virtualization:__subpackages__"],
-}
diff --git a/app/AndroidManifest.avf.xml b/app/AndroidManifest.avf.xml
deleted file mode 100644
index 664cd99..0000000
--- a/app/AndroidManifest.avf.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- Copyright (C) 2024 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.
- -->
-
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.rkpdapp">
-
- <!-- The VM permissions are required for running pVM remote attestation from a VM. -->
- <uses-permission android:name="android.permission.MANAGE_VIRTUAL_MACHINE" />
- <uses-permission android:name="android.permission.USE_CUSTOM_VIRTUAL_MACHINE" />
-
-</manifest>