2021-06-28 09:37:26 +00:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2022-09-01 10:10:32 +00:00
|
|
|
// Defines our permissions
|
|
|
|
android_app {
|
|
|
|
name: "android.system.virtualmachine.res",
|
|
|
|
installable: true,
|
|
|
|
apex_available: ["com.android.virt"],
|
|
|
|
sdk_version: "current",
|
|
|
|
}
|
|
|
|
|
2021-06-28 09:37:26 +00:00
|
|
|
java_sdk_library {
|
|
|
|
name: "android.system.virtualmachine",
|
|
|
|
installable: true,
|
|
|
|
compile_dex: true,
|
|
|
|
|
2022-09-01 10:10:32 +00:00
|
|
|
jarjar_rules: "jarjar-rules.txt",
|
|
|
|
|
2021-06-28 09:37:26 +00:00
|
|
|
srcs: ["src/**/*.java"],
|
|
|
|
static_libs: [
|
|
|
|
"android.system.virtualizationservice-java",
|
2022-09-01 10:10:32 +00:00
|
|
|
// For android.sysprop.HypervisorProperties
|
|
|
|
"PlatformProperties",
|
2021-06-28 09:37:26 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
apex_available: ["com.android.virt"],
|
|
|
|
permitted_packages: [
|
|
|
|
"android.system.virtualmachine",
|
|
|
|
"android.system.virtualizationservice",
|
2022-09-01 10:10:32 +00:00
|
|
|
// android.sysprop.*, renamed by jarjar
|
|
|
|
"com.android.system.virtualmachine.sysprop",
|
2021-06-28 09:37:26 +00:00
|
|
|
],
|
2022-08-17 10:38:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
prebuilt_apis {
|
|
|
|
name: "android-virtualization-framework-sdk",
|
|
|
|
api_dirs: ["32"],
|
2021-06-28 09:37:26 +00:00
|
|
|
}
|