Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 1 | // merge all required services into one jar |
| 2 | // ============================================================ |
| 3 | java_library { |
| 4 | name: "services", |
Colin Cross | a12c0f5 | 2018-06-27 11:00:11 -0700 | [diff] [blame] | 5 | installable: true, |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 6 | |
| 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 Cross | 4c0b06b | 2017-12-12 19:43:04 -0800 | [diff] [blame] | 18 | "services.core", |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 19 | "services.accessibility", |
Sunny Goyal | 54e9134 | 2018-11-14 11:59:02 -0800 | [diff] [blame] | 20 | "services.appprediction", |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 21 | "services.appwidget", |
| 22 | "services.autofill", |
| 23 | "services.backup", |
| 24 | "services.companion", |
Felipe Leme | 749b889 | 2018-12-03 16:30:30 -0800 | [diff] [blame] | 25 | "services.contentcapture", |
Winson Chung | 3fb0f25 | 2019-01-08 17:41:55 -0800 | [diff] [blame] | 26 | "services.contentsuggestions", |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 27 | "services.coverage", |
| 28 | "services.devicepolicy", |
Chalard Jean | 8c141bd | 2018-12-04 20:20:56 +0900 | [diff] [blame] | 29 | "services.ipmemorystore", |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 30 | "services.midi", |
| 31 | "services.net", |
| 32 | "services.print", |
| 33 | "services.restrictions", |
Igor Murashkin | 4de1e16 | 2018-11-26 10:33:17 -0800 | [diff] [blame] | 34 | "services.startop", |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 35 | "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 | |
| 45 | // Uncomment to enable output of certain warnings (deprecated, unchecked) |
| 46 | //javacflags: ["-Xlint"], |
| 47 | |
| 48 | } |
| 49 | |
Colin Cross | 3a7d899 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 50 | // native library |
| 51 | // ============================================================= |
| 52 | |
| 53 | cc_library_shared { |
| 54 | name: "libandroid_servers", |
| 55 | defaults: ["libservices.core-libs"], |
| 56 | whole_static_libs: ["libservices.core"], |
| 57 | } |