blob: d125adc5fa7ddc2cd7b4e88bc2fb08176d8377fb [file] [log] [blame]
Colin Crosseb652a42017-12-05 09:46:29 -08001// merge all required services into one jar
2// ============================================================
3java_library {
4 name: "services",
5
6 dex_preopt: {
7 app_image: true,
8 profile: "art-profile",
9 },
10
11 srcs: [
12 "java/**/*.java",
13 ],
14
15 // The convention is to name each service module 'services.$(module_name)'
16 static_libs: [
Colin Cross4c0b06b2017-12-12 19:43:04 -080017 "services.core",
Colin Crosseb652a42017-12-05 09:46:29 -080018 "services.accessibility",
19 "services.appwidget",
20 "services.autofill",
21 "services.backup",
22 "services.companion",
23 "services.coverage",
24 "services.devicepolicy",
25 "services.midi",
26 "services.net",
27 "services.print",
28 "services.restrictions",
29 "services.usage",
30 "services.usb",
31 "services.voiceinteraction",
32 "android.hidl.base-V1.0-java",
33 ],
34
35 libs: [
36 "android.hidl.manager-V1.0-java",
37 ],
38
39 // Uncomment to enable output of certain warnings (deprecated, unchecked)
40 //javacflags: ["-Xlint"],
41
42}
43
Colin Cross3a7d8992017-12-05 17:33:58 -080044// native library
45// =============================================================
46
47cc_library_shared {
48 name: "libandroid_servers",
49 defaults: ["libservices.core-libs"],
50 whole_static_libs: ["libservices.core"],
51}