blob: d5c16a6e9e5a57559664821ad1b0fc8c24e523ff [file] [log] [blame]
Anton Hanssonf3cf62b2020-03-19 15:30:40 +00001// Copyright (C) 2020 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
Muhammad Qureshi8ea733e2020-02-07 09:30:28 -080014
15filegroup {
16 name: "service-statsd-sources",
17 srcs: [
18 "java/**/*.java",
19 ],
20}
21
Tej Singhc53ac0a2019-09-20 16:29:13 -070022java_library {
Anton Hansson97369f82019-11-22 11:40:08 +000023 name: "service-statsd",
Tej Singhc53ac0a2019-09-20 16:29:13 -070024 installable: true,
25
26 srcs: [
Muhammad Qureshi8ea733e2020-02-07 09:30:28 -080027 ":service-statsd-sources",
Tej Singhc53ac0a2019-09-20 16:29:13 -070028 ],
Muhammad Qureshifc3e3052020-02-09 13:27:28 -080029
30 // TODO(b/146757305) should be "module_current" since not allowed to use
31 // @CorePlatformApi's
Muhammad Qureshi8ea733e2020-02-07 09:30:28 -080032 sdk_version: "core_platform",
Muhammad Qureshifc3e3052020-02-09 13:27:28 -080033
Tej Singhc53ac0a2019-09-20 16:29:13 -070034 libs: [
Muhammad Qureshi8ea733e2020-02-07 09:30:28 -080035 "framework-annotations-lib",
Muhammad Qureshi8ea733e2020-02-07 09:30:28 -080036 "services-stubs",
Muhammad Qureshifc3e3052020-02-09 13:27:28 -080037 "framework-statsd",
38
39 // TODO(b/146757305): should be unnecessary once
40 // sdk_version="module_lib_current" or "module_current"
41 "android_module_lib_stubs_current",
Tej Singhc53ac0a2019-09-20 16:29:13 -070042 ],
Muhammad Qureshifc3e3052020-02-09 13:27:28 -080043
Howard Ro30ab9fe2020-02-26 23:34:17 -080044 plugins: ["java_api_finder"],
45
Anton Hansson5e0d3942020-01-10 17:38:35 +000046 apex_available: [
47 "com.android.os.statsd",
48 "test_com.android.os.statsd",
49 ],
Anton Hansson97369f82019-11-22 11:40:08 +000050}