Nikita Ioffe | 37a795c | 2024-02-20 13:33:21 +0000 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | soong_config_module_type { |
| 6 | name: "avf_flag_aware_android_app", |
| 7 | module_type: "android_app", |
| 8 | config_namespace: "ANDROID", |
| 9 | bool_variables: ["release_avf_allow_preinstalled_apps"], |
| 10 | properties: ["manifest"], |
| 11 | } |
| 12 | |
| 13 | // Defines our permissions |
| 14 | avf_flag_aware_android_app { |
| 15 | name: "android.system.virtualmachine.res", |
| 16 | installable: true, |
| 17 | apex_available: ["com.android.virt"], |
| 18 | platform_apis: true, |
| 19 | soong_config_variables: { |
| 20 | release_avf_allow_preinstalled_apps: { |
| 21 | manifest: "AndroidManifestNext.xml", |
| 22 | }, |
| 23 | }, |
| 24 | } |