• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1java_library_static {
2    name: "services.core.unboosted",
3
4    aidl: {
5        include_dirs: [
6            "frameworks/base/cmds/idmap2/idmap2d/aidl",
7            "frameworks/native/aidl/binder",
8            "frameworks/native/cmds/dumpstate/binder",
9            "system/core/storaged/binder",
10            "system/vold/binder",
11            "system/gsid/aidl",
12        ],
13    },
14    srcs: [
15        "java/**/*.java",
16        ":dumpstate_aidl",
17        ":idmap2_aidl",
18        ":installd_aidl",
19        ":storaged_aidl",
20        ":vold_aidl",
21        ":gsiservice_aidl",
22        "java/com/android/server/EventLogTags.logtags",
23        "java/com/android/server/am/EventLogTags.logtags",
24        "java/com/android/server/policy/EventLogTags.logtags",
25    ],
26
27    libs: [
28        "services.net",
29        "android.hardware.light-V2.0-java",
30        "android.hardware.power-V1.0-java",
31        "android.hardware.tv.cec-V1.0-java",
32    ],
33
34    required: [
35        "gps_debug.conf",
36    ],
37
38    static_libs: [
39        "time_zone_distro",
40        "time_zone_distro_installer",
41        "android.hardware.authsecret-V1.0-java",
42        "android.hardware.broadcastradio-V2.0-java",
43        "android.hardware.health-V1.0-java",
44        "android.hardware.health-V2.0-java",
45        "android.hardware.weaver-V1.0-java",
46        "android.hardware.biometrics.face-V1.0-java",
47        "android.hardware.biometrics.fingerprint-V2.1-java",
48        "android.hardware.oemlock-V1.0-java",
49        "android.hardware.tetheroffload.control-V1.0-java",
50        "android.hardware.vibrator-V1.0-java",
51        "android.hardware.configstore-V1.0-java",
52        "android.hardware.contexthub-V1.0-java",
53        "android.hidl.manager-V1.2-java",
54        "dnsresolver_aidl_interface-V2-java",
55        "netd_aidl_interface-V2-java",
56        "netd_event_listener_interface-java",
57    ],
58}
59
60java_genrule {
61    name: "services.core.priorityboosted",
62    srcs: [":services.core.unboosted"],
63    tools: ["lockedregioncodeinjection"],
64    cmd: "$(location lockedregioncodeinjection) " +
65        "  --targets \"Lcom/android/server/am/ActivityManagerService;,Lcom/android/server/wm/WindowManagerGlobalLock;\" " +
66        "  --pre \"com/android/server/am/ActivityManagerService.boostPriorityForLockedSection,com/android/server/wm/WindowManagerService.boostPriorityForLockedSection\" " +
67        "  --post \"com/android/server/am/ActivityManagerService.resetPriorityAfterLockedSection,com/android/server/wm/WindowManagerService.resetPriorityAfterLockedSection\" " +
68        "  -o $(out) " +
69        "  -i $(in)",
70    out: ["services.core.priorityboosted.jar"],
71}
72
73java_library {
74    name: "services.core",
75    static_libs: ["services.core.priorityboosted"],
76}
77
78
79prebuilt_etc {
80    name: "gps_debug.conf",
81    src: "java/com/android/server/location/gps_debug.conf",
82}
83