blob: 446c2a52be22877a99a267ec2ca133a758a8aa77 [file] [log] [blame]
Colin Crosse0b2ee52017-12-05 09:46:29 -08001java_library_static {
2 name: "services.core",
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",
19 "java/com/android/server/EventLogTags.logtags",
20 "java/com/android/server/am/EventLogTags.logtags",
21 ],
22
23 libs: [
24 "services.net",
25 "android.hardware.light-V2.0-java",
26 "android.hardware.power-V1.0-java",
27 "android.hardware.tv.cec-V1.0-java",
28 "android.hidl.manager-V1.0-java",
29 ],
30
31 static_libs: [
32 "time_zone_distro",
33 "time_zone_distro_installer",
34 "android.hardware.health-V1.0-java",
35 "android.hardware.health-V2.0-java",
36 "android.hardware.weaver-V1.0-java",
37 "android.hardware.biometrics.fingerprint-V2.1-java",
38 "android.hardware.oemlock-V1.0-java",
39 "android.hardware.tetheroffload.control-V1.0-java",
40 "android.hardware.vibrator-V1.0-java",
41 "android.hardware.configstore-V1.0-java",
42 "android.hardware.contexthub-V1.0-java",
43 ],
44}
45
46java_genrule {
47 name: "services.core.priorityboosted",
48 srcs: [":services.core"],
49 tools: ["lockedregioncodeinjection"],
50 cmd: "$(location lockedregioncodeinjection) " +
51 " --targets \"Lcom/android/server/am/ActivityManagerService;,Lcom/android/server/wm/WindowHashMap;\" " +
52 " --pre \"com/android/server/am/ActivityManagerService.boostPriorityForLockedSection,com/android/server/wm/WindowManagerService.boostPriorityForLockedSection\" " +
53 " --post \"com/android/server/am/ActivityManagerService.resetPriorityAfterLockedSection,com/android/server/wm/WindowManagerService.resetPriorityAfterLockedSection\" " +
54 " -o $(out) " +
55 " -i $(in)",
56 out: ["services.core.priorityboosted.jar"],
57}