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", |
| 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 Cross | 4c0b06b | 2017-12-12 19:43:04 -0800 | [diff] [blame] | 17 | "services.core", |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 18 | "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 Cross | 3a7d899 | 2017-12-05 17:33:58 -0800 | [diff] [blame] | 44 | // native library |
| 45 | // ============================================================= |
| 46 | |
| 47 | cc_library_shared { |
| 48 | name: "libandroid_servers", |
| 49 | defaults: ["libservices.core-libs"], |
| 50 | whole_static_libs: ["libservices.core"], |
| 51 | } |