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", |
| 20 | "services.appwidget", |
| 21 | "services.autofill", |
| 22 | "services.backup", |
| 23 | "services.companion", |
| 24 | "services.coverage", |
| 25 | "services.devicepolicy", |
Chalard Jean | 8c141bd | 2018-12-04 20:20:56 +0900 | [diff] [blame] | 26 | "services.ipmemorystore", |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 27 | "services.midi", |
| 28 | "services.net", |
| 29 | "services.print", |
| 30 | "services.restrictions", |
| 31 | "services.usage", |
| 32 | "services.usb", |
| 33 | "services.voiceinteraction", |
| 34 | "android.hidl.base-V1.0-java", |
| 35 | ], |
| 36 | |
| 37 | libs: [ |
| 38 | "android.hidl.manager-V1.0-java", |
| 39 | ], |
| 40 | |
| 41 | // Uncomment to enable output of certain warnings (deprecated, unchecked) |
| 42 | //javacflags: ["-Xlint"], |
| 43 | |
| 44 | } |
| 45 | |
Colin Cross | 3a7d899 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 46 | // native library |
| 47 | // ============================================================= |
| 48 | |
| 49 | cc_library_shared { |
| 50 | name: "libandroid_servers", |
| 51 | defaults: ["libservices.core-libs"], |
| 52 | whole_static_libs: ["libservices.core"], |
| 53 | } |