blob: 31385edd015f6a26d2f63f4e2e75bee2ae6267a9 [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",
Sunny Goyal54e91342018-11-14 11:59:02 -080020 "services.appprediction",
Colin Crosseb652a42017-12-05 09:46:29 -080021 "services.appwidget",
22 "services.autofill",
23 "services.backup",
24 "services.companion",
Felipe Leme749b8892018-12-03 16:30:30 -080025 "services.contentcapture",
Winson Chung3fb0f252019-01-08 17:41:55 -080026 "services.contentsuggestions",
Colin Crosseb652a42017-12-05 09:46:29 -080027 "services.coverage",
28 "services.devicepolicy",
Chalard Jean8c141bd2018-12-04 20:20:56 +090029 "services.ipmemorystore",
Colin Crosseb652a42017-12-05 09:46:29 -080030 "services.midi",
31 "services.net",
32 "services.print",
33 "services.restrictions",
Igor Murashkin4de1e162018-11-26 10:33:17 -080034 "services.startop",
Colin Crosseb652a42017-12-05 09:46:29 -080035 "services.usage",
36 "services.usb",
37 "services.voiceinteraction",
38 "android.hidl.base-V1.0-java",
39 ],
40
41 libs: [
42 "android.hidl.manager-V1.0-java",
43 ],
44
45 // Uncomment to enable output of certain warnings (deprecated, unchecked)
46 //javacflags: ["-Xlint"],
47
48}
49
Colin Cross3a7d8992017-12-05 17:33:58 -080050// native library
51// =============================================================
52
53cc_library_shared {
54 name: "libandroid_servers",
55 defaults: ["libservices.core-libs"],
56 whole_static_libs: ["libservices.core"],
57}