java_library cannot depend on a java_sdk_library directly; use the .impl variant which exposes the full implementation including AIDL-generated stubs.
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
// PawletOS Framework API Extensions
|
|
// Installed to product partition; visible to system apps and vendor subpackages.
|
|
|
|
java_sdk_library {
|
|
name: "pawlet-device",
|
|
srcs: ["core/java/pawletos/device/PawletDevice.java"],
|
|
api_packages: ["pawletos.device"],
|
|
sdk_version: "system_current",
|
|
product_specific: true,
|
|
installable: true,
|
|
api_dir: "api/device",
|
|
visibility: [
|
|
"//packages/apps:__subpackages__",
|
|
"//vendor:__subpackages__",
|
|
],
|
|
unsafe_ignore_missing_latest_api: true,
|
|
}
|
|
|
|
java_sdk_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"],
|
|
},
|
|
api_packages: ["pawletos.device.system"],
|
|
sdk_version: "system_current",
|
|
product_specific: true,
|
|
installable: true,
|
|
api_dir: "api/system",
|
|
visibility: [
|
|
"//frameworks/base:__subpackages__",
|
|
"//packages/apps:__subpackages__",
|
|
"//vendor:__subpackages__",
|
|
],
|
|
unsafe_ignore_missing_latest_api: true,
|
|
}
|
|
|
|
// 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.impl"],
|
|
sdk_version: "system_current",
|
|
product_specific: true,
|
|
visibility: [
|
|
"//packages/apps:__subpackages__",
|
|
"//vendor:__subpackages__",
|
|
],
|
|
}
|