Copy the gps_debug.conf from the device-specific folders to a place closer to the code that uses it. Bug: 112879252 Bug: 120066492 Test: make Change-Id: I937e699cb9e891c511ca7b9f4740d45e19668c54 Merged-In: I937e699cb9e891c511ca7b9f4740d45e19668c54 Exempt-From-Owner-Approval: cp from internal (cherry picked from commit 11905c6b2c8d2c7b3001cd913619d8b17c533ac1)
79 lines
2.5 KiB
Plaintext
79 lines
2.5 KiB
Plaintext
java_library_static {
|
|
name: "services.core.unboosted",
|
|
|
|
aidl: {
|
|
include_dirs: [
|
|
"frameworks/native/aidl/binder",
|
|
"frameworks/native/cmds/dumpstate/binder",
|
|
"system/core/storaged/binder",
|
|
"system/netd/server/binder",
|
|
"system/vold/binder",
|
|
],
|
|
},
|
|
srcs: [
|
|
"java/**/*.java",
|
|
":dumpstate_aidl",
|
|
":netd_aidl",
|
|
":netd_metrics_aidl",
|
|
":installd_aidl",
|
|
":storaged_aidl",
|
|
":vold_aidl",
|
|
":mediaupdateservice_aidl",
|
|
"java/com/android/server/EventLogTags.logtags",
|
|
"java/com/android/server/am/EventLogTags.logtags",
|
|
],
|
|
|
|
libs: [
|
|
"services.net",
|
|
"android.hardware.light-V2.0-java",
|
|
"android.hardware.power-V1.0-java",
|
|
"android.hardware.tv.cec-V1.0-java",
|
|
],
|
|
|
|
required: [
|
|
"gps_debug.conf",
|
|
],
|
|
|
|
static_libs: [
|
|
"time_zone_distro",
|
|
"time_zone_distro_installer",
|
|
"android.hardware.authsecret-V1.0-java",
|
|
"android.hardware.broadcastradio-V2.0-java",
|
|
"android.hardware.health-V1.0-java",
|
|
"android.hardware.health-V2.0-java",
|
|
"android.hardware.weaver-V1.0-java",
|
|
"android.hardware.biometrics.fingerprint-V2.1-java",
|
|
"android.hardware.oemlock-V1.0-java",
|
|
"android.hardware.tetheroffload.control-V1.0-java",
|
|
"android.hardware.vibrator-V1.0-java",
|
|
"android.hardware.configstore-V1.0-java",
|
|
"android.hardware.contexthub-V1.0-java",
|
|
"android.hidl.manager-V1.0-java",
|
|
"netd_aidl_interface-java",
|
|
],
|
|
}
|
|
|
|
java_genrule {
|
|
name: "services.core.priorityboosted",
|
|
srcs: [":services.core.unboosted"],
|
|
tools: ["lockedregioncodeinjection"],
|
|
cmd: "$(location lockedregioncodeinjection) " +
|
|
" --targets \"Lcom/android/server/am/ActivityManagerService;,Lcom/android/server/wm/WindowHashMap;\" " +
|
|
" --pre \"com/android/server/am/ActivityManagerService.boostPriorityForLockedSection,com/android/server/wm/WindowManagerService.boostPriorityForLockedSection\" " +
|
|
" --post \"com/android/server/am/ActivityManagerService.resetPriorityAfterLockedSection,com/android/server/wm/WindowManagerService.resetPriorityAfterLockedSection\" " +
|
|
" -o $(out) " +
|
|
" -i $(in)",
|
|
out: ["services.core.priorityboosted.jar"],
|
|
}
|
|
|
|
java_library {
|
|
name: "services.core",
|
|
static_libs: ["services.core.priorityboosted"],
|
|
}
|
|
|
|
|
|
prebuilt_etc {
|
|
name: "gps_debug.conf",
|
|
src: "java/com/android/server/location/gps_debug.conf",
|
|
}
|