blob: f765e63e67546e371917d71a26dd270213fbaf29 [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",
29 "services.midi",
30 "services.net",
31 "services.print",
32 "services.restrictions",
Igor Murashkin4de1e162018-11-26 10:33:17 -080033 "services.startop",
Robert Berry835123d2019-03-18 16:33:42 -040034 "services.systemcaptions",
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
atrost86895aa2019-08-19 16:51:15 +010045 plugins: [
46 "compat-changeid-annotation-processor",
47 ],
48
Colin Crosseb652a42017-12-05 09:46:29 -080049 // Uncomment to enable output of certain warnings (deprecated, unchecked)
50 //javacflags: ["-Xlint"],
51
52}
53
Colin Cross3a7d8992017-12-05 17:33:58 -080054// native library
55// =============================================================
56
57cc_library_shared {
58 name: "libandroid_servers",
59 defaults: ["libservices.core-libs"],
60 whole_static_libs: ["libservices.core"],
61}
atrost86895aa2019-08-19 16:51:15 +010062
63platform_compat_config {
64 name: "services-platform-compat-config",
atrost86895aa2019-08-19 16:51:15 +010065 src: ":services",
66}