blob: a416ca0b6977e0beac7a91fe63b8b3f6a74ecc89 [file] [log] [blame]
Colin Crosseb652a42017-12-05 09:46:29 -08001// merge all required services into one jar
2// ============================================================
3java_library {
4 name: "services",
Colin Crossa12c0f52018-06-27 11:00:11 -07005 installable: true,
Colin Crosseb652a42017-12-05 09:46:29 -08006
7 dex_preopt: {
8 app_image: true,
9 profile: "art-profile",
10 },
11
12 srcs: [
13 "java/**/*.java",
14 ],
15
16 // The convention is to name each service module 'services.$(module_name)'
17 static_libs: [
Colin Cross4c0b06b2017-12-12 19:43:04 -080018 "services.core",
Colin Crosseb652a42017-12-05 09:46:29 -080019 "services.accessibility",
20 "services.appwidget",
21 "services.autofill",
22 "services.backup",
23 "services.companion",
24 "services.coverage",
25 "services.devicepolicy",
Chalard Jean8c141bd2018-12-04 20:20:56 +090026 "services.ipmemorystore",
Colin Crosseb652a42017-12-05 09:46:29 -080027 "services.midi",
28 "services.net",
29 "services.print",
30 "services.restrictions",
31 "services.usage",
32 "services.usb",
33 "services.voiceinteraction",
34 "android.hidl.base-V1.0-java",
35 ],
36
37 libs: [
38 "android.hidl.manager-V1.0-java",
39 ],
40
41 // Uncomment to enable output of certain warnings (deprecated, unchecked)
42 //javacflags: ["-Xlint"],
43
44}
45
Colin Cross3a7d8992017-12-05 17:33:58 -080046// native library
47// =============================================================
48
49cc_library_shared {
50 name: "libandroid_servers",
51 defaults: ["libservices.core-libs"],
52 whole_static_libs: ["libservices.core"],
53}