Colin Cross | e0b2ee5 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 1 | java_library_static { |
Colin Cross | 4c0b06b | 2017-12-12 19:43:04 -0800 | [diff] [blame] | 2 | name: "services.core.unboosted", |
Colin Cross | e0b2ee5 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 3 | |
| 4 | aidl: { |
| 5 | include_dirs: [ |
| 6 | "frameworks/native/aidl/binder", |
| 7 | "system/core/storaged/binder", |
| 8 | "system/netd/server/binder", |
| 9 | "system/vold/binder", |
| 10 | ], |
| 11 | }, |
| 12 | srcs: [ |
| 13 | "java/**/*.java", |
| 14 | ":netd_aidl", |
| 15 | ":netd_metrics_aidl", |
| 16 | ":installd_aidl", |
| 17 | ":storaged_aidl", |
| 18 | ":vold_aidl", |
Dongwon Kang | 569da9f | 2017-11-06 09:53:52 -0800 | [diff] [blame] | 19 | ":mediaupdateservice_aidl", |
Colin Cross | e0b2ee5 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 20 | "java/com/android/server/EventLogTags.logtags", |
| 21 | "java/com/android/server/am/EventLogTags.logtags", |
| 22 | ], |
| 23 | |
| 24 | libs: [ |
| 25 | "services.net", |
| 26 | "android.hardware.light-V2.0-java", |
| 27 | "android.hardware.power-V1.0-java", |
| 28 | "android.hardware.tv.cec-V1.0-java", |
| 29 | "android.hidl.manager-V1.0-java", |
| 30 | ], |
| 31 | |
| 32 | static_libs: [ |
| 33 | "time_zone_distro", |
| 34 | "time_zone_distro_installer", |
Andrew Scull | e6527c1 | 2018-01-05 18:33:58 +0000 | [diff] [blame] | 35 | "android.hardware.authsecret-V1.0-java", |
Tomasz Wasilczyk | d65b3ca | 2017-12-13 08:26:25 -0800 | [diff] [blame] | 36 | "android.hardware.broadcastradio-V2.0-java", |
Colin Cross | e0b2ee5 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 37 | "android.hardware.health-V1.0-java", |
| 38 | "android.hardware.health-V2.0-java", |
| 39 | "android.hardware.weaver-V1.0-java", |
| 40 | "android.hardware.biometrics.fingerprint-V2.1-java", |
| 41 | "android.hardware.oemlock-V1.0-java", |
| 42 | "android.hardware.tetheroffload.control-V1.0-java", |
| 43 | "android.hardware.vibrator-V1.0-java", |
| 44 | "android.hardware.configstore-V1.0-java", |
| 45 | "android.hardware.contexthub-V1.0-java", |
| 46 | ], |
| 47 | } |
| 48 | |
| 49 | java_genrule { |
| 50 | name: "services.core.priorityboosted", |
Colin Cross | 4c0b06b | 2017-12-12 19:43:04 -0800 | [diff] [blame] | 51 | srcs: [":services.core.unboosted"], |
Colin Cross | e0b2ee5 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 52 | tools: ["lockedregioncodeinjection"], |
| 53 | cmd: "$(location lockedregioncodeinjection) " + |
| 54 | " --targets \"Lcom/android/server/am/ActivityManagerService;,Lcom/android/server/wm/WindowHashMap;\" " + |
| 55 | " --pre \"com/android/server/am/ActivityManagerService.boostPriorityForLockedSection,com/android/server/wm/WindowManagerService.boostPriorityForLockedSection\" " + |
| 56 | " --post \"com/android/server/am/ActivityManagerService.resetPriorityAfterLockedSection,com/android/server/wm/WindowManagerService.resetPriorityAfterLockedSection\" " + |
| 57 | " -o $(out) " + |
| 58 | " -i $(in)", |
| 59 | out: ["services.core.priorityboosted.jar"], |
| 60 | } |
Colin Cross | 4c0b06b | 2017-12-12 19:43:04 -0800 | [diff] [blame] | 61 | |
| 62 | java_library { |
| 63 | name: "services.core", |
| 64 | static_libs: ["services.core.priorityboosted"], |
| 65 | } |