blob: 60dd8959fc3971d92311ffa083d84f2a6ca0b365 [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
Al Sutton38e0e2c2019-09-10 16:10:40 +010050 required: [
51 // Required by services.backup
52 "BackupEncryption",
53 ],
54
Colin Crosseb652a42017-12-05 09:46:29 -080055 // Uncomment to enable output of certain warnings (deprecated, unchecked)
56 //javacflags: ["-Xlint"],
57
58}
59
Colin Cross3a7d8992017-12-05 17:33:58 -080060// native library
61// =============================================================
62
63cc_library_shared {
64 name: "libandroid_servers",
65 defaults: ["libservices.core-libs"],
66 whole_static_libs: ["libservices.core"],
67}
atrost86895aa2019-08-19 16:51:15 +010068
69platform_compat_config {
70 name: "services-platform-compat-config",
atrost86895aa2019-08-19 16:51:15 +010071 src: ":services",
72}