blob: 27f8d36894da2aeaa44461a84c4882f239272d39 [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 Berrye14120e2019-03-18 16:33:42 -040034 "services.systemcaptions",
Colin Crosseb652a42017-12-05 09:46:29 -080035 "services.usage",
36 "services.usb",
37 "services.voiceinteraction",
Roshan Pius6f5338d2019-06-14 14:37:14 -070038 "services.wifi",
Colin Crosseb652a42017-12-05 09:46:29 -080039 "android.hidl.base-V1.0-java",
40 ],
41
42 libs: [
43 "android.hidl.manager-V1.0-java",
44 ],
45
atrost86895aa2019-08-19 16:51:15 +010046 plugins: [
47 "compat-changeid-annotation-processor",
48 ],
49
Colin Crosseb652a42017-12-05 09:46:29 -080050 // Uncomment to enable output of certain warnings (deprecated, unchecked)
51 //javacflags: ["-Xlint"],
52
53}
54
Colin Cross3a7d8992017-12-05 17:33:58 -080055// native library
56// =============================================================
57
58cc_library_shared {
59 name: "libandroid_servers",
60 defaults: ["libservices.core-libs"],
61 whole_static_libs: ["libservices.core"],
62}
atrost86895aa2019-08-19 16:51:15 +010063
64platform_compat_config {
65 name: "services-platform-compat-config",
66 prefix: "services",
67 src: ":services",
68}