blob: bea51be321c99a9bb5fc9ee2c7e9a75cb3c20325 [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",
26 "services.midi",
27 "services.net",
28 "services.print",
29 "services.restrictions",
30 "services.usage",
31 "services.usb",
32 "services.voiceinteraction",
33 "android.hidl.base-V1.0-java",
34 ],
35
36 libs: [
37 "android.hidl.manager-V1.0-java",
38 ],
39
40 // Uncomment to enable output of certain warnings (deprecated, unchecked)
41 //javacflags: ["-Xlint"],
42
43}
44
Colin Cross3a7d8992017-12-05 17:33:58 -080045// native library
46// =============================================================
47
48cc_library_shared {
49 name: "libandroid_servers",
50 defaults: ["libservices.core-libs"],
51 whole_static_libs: ["libservices.core"],
52}