blob: 0f8a151eed7c55826518c1f8c3f0a044673b37b4 [file] [log] [blame]
Tej Singhc53ac0a2019-09-20 16:29:13 -07001// Statsd Service jar, which will eventually be put in the statsd mainline apex.
Tej Singhccd009162019-12-11 15:57:44 -08002// service-statsd needs to be added to PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS.
Tej Singhc53ac0a2019-09-20 16:29:13 -07003// This jar will contain StatsCompanionService
Muhammad Qureshi8ea733e2020-02-07 09:30:28 -08004
5filegroup {
6 name: "service-statsd-sources",
7 srcs: [
8 "java/**/*.java",
9 ],
10}
11
Tej Singhc53ac0a2019-09-20 16:29:13 -070012java_library {
Anton Hansson97369f82019-11-22 11:40:08 +000013 name: "service-statsd",
Tej Singhc53ac0a2019-09-20 16:29:13 -070014 installable: true,
15
16 srcs: [
Muhammad Qureshi8ea733e2020-02-07 09:30:28 -080017 ":service-statsd-sources",
Tej Singhc53ac0a2019-09-20 16:29:13 -070018 ],
Muhammad Qureshi8ea733e2020-02-07 09:30:28 -080019 // TODO(b/146209659): Use system_current instead once framework-statsd compiles against
20 // system_current.
21 sdk_version: "core_platform",
Tej Singhc53ac0a2019-09-20 16:29:13 -070022 libs: [
Muhammad Qureshi8ea733e2020-02-07 09:30:28 -080023 "framework-annotations-lib",
24 "framework-statsd",
25 // TODO(b/146758669): Remove this line after nullability annotations are system APIs.
26 "android_system_stubs_current",
27 "services-stubs",
Tej Singhc53ac0a2019-09-20 16:29:13 -070028 ],
Anton Hansson5e0d3942020-01-10 17:38:35 +000029 apex_available: [
30 "com.android.os.statsd",
31 "test_com.android.os.statsd",
32 ],
Anton Hansson97369f82019-11-22 11:40:08 +000033}