63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
// Defines our permissions
|
|
android_app {
|
|
name: "android.system.virtualmachine.res",
|
|
installable: true,
|
|
apex_available: ["com.android.virt"],
|
|
platform_apis: true,
|
|
}
|
|
|
|
java_sdk_library {
|
|
name: "framework-virtualization",
|
|
|
|
defaults: ["non-updatable-framework-module-defaults"],
|
|
|
|
jarjar_rules: "jarjar-rules.txt",
|
|
|
|
srcs: ["src/**/*.java"],
|
|
static_libs: [
|
|
"android.system.virtualizationservice-java",
|
|
// For android.sysprop.HypervisorProperties
|
|
"PlatformProperties",
|
|
],
|
|
|
|
apex_available: ["com.android.virt"],
|
|
|
|
permitted_packages: [
|
|
"android.system.virtualmachine",
|
|
"android.system.virtualizationservice",
|
|
// android.sysprop.*, renamed by jarjar
|
|
"com.android.system.virtualmachine.sysprop",
|
|
],
|
|
errorprone: {
|
|
enabled: true,
|
|
javacflags: [
|
|
// We use @GuardedBy and we want a test failure if our locking isn't consistent with it.
|
|
"-Xep:GuardedBy:ERROR",
|
|
],
|
|
},
|
|
|
|
sdk_version: "core_platform",
|
|
stub_only_libs: [
|
|
"android_module_lib_stubs_current",
|
|
],
|
|
impl_only_libs: [
|
|
"framework",
|
|
],
|
|
impl_library_visibility: [
|
|
"//packages/modules/Virtualization:__subpackages__",
|
|
],
|
|
}
|
|
|
|
java_api_contribution {
|
|
name: "framework-virtualization-public-stubs",
|
|
api_surface: "public",
|
|
api_file: "api/current.txt",
|
|
visibility: [
|
|
"//build/orchestrator/apis",
|
|
],
|
|
}
|