Files
frameworks_pawlet/Android.bp
oxmc b5109e8712 build: move pawlet libraries to system_ext partition
product partition enforces PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE
which disallows platform_apis. system_ext has no such restriction and
is the correct home for ROM framework extensions.
2026-06-15 01:03:45 -07:00

48 lines
1.3 KiB
Plaintext

// PawletOS Framework API Extensions
// Installed to product partition; visible to system apps and vendor subpackages.
java_library {
name: "pawlet-device",
srcs: ["core/java/pawletos/device/PawletDevice.java"],
platform_apis: true,
system_ext_specific: true,
installable: true,
visibility: [
"//packages/apps:__subpackages__",
"//vendor:__subpackages__",
],
}
java_library {
name: "pawlet-system",
srcs: [
"core/java/pawletos/device/system/PawletSystem.java",
"core/java/pawletos/device/system/PawletManager.java",
"core/java/pawletos/device/system/IPawletManager.aidl",
],
aidl: {
local_include_dirs: ["core/java"],
},
platform_apis: true,
system_ext_specific: true,
installable: true,
visibility: [
"//frameworks/base:__subpackages__",
"//packages/apps:__subpackages__",
"//vendor:__subpackages__",
],
}
// Service-side implementation — used by the privileged app that hosts the service.
java_library {
name: "pawlet-manager-service",
srcs: ["core/java/pawletos/device/system/PawletManagerService.java"],
libs: ["pawlet-system"],
platform_apis: true,
system_ext_specific: true,
visibility: [
"//packages/apps:__subpackages__",
"//vendor:__subpackages__",
],
}