blob: 487c8e1b216de5c59a4fd061c827ead911f3d986 [file] [log] [blame]
Ruchir Rastogicd9dd942019-11-27 15:26:03 -08001//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
Ruchir Rastogicd9dd942019-11-27 15:26:03 -080016filegroup {
Muhammad Qureshifc3e3052020-02-09 13:27:28 -080017 name: "framework-statsd-aidl-sources",
Ruchir Rastogi86379b12020-01-31 12:29:32 -080018 srcs: ["**/*.aidl"],
19}
20
21aidl_interface {
22 name: "statsd-aidl",
Jeffrey Huang8c1ae5a2019-12-12 10:56:24 -080023 srcs: [
Jeffrey Huangad213742019-12-16 13:50:06 -080024 "android/os/IPendingIntentRef.aidl",
Jeffrey Huang8c1ae5a2019-12-12 10:56:24 -080025 "android/os/IPullAtomCallback.aidl",
26 "android/os/IPullAtomResultReceiver.aidl",
27 "android/os/IStatsCompanionService.aidl",
28 "android/os/IStatsd.aidl",
Ruchir Rastogi86379b12020-01-31 12:29:32 -080029 "android/os/StatsDimensionsValueParcel.aidl",
Jeffrey Huang8c1ae5a2019-12-12 10:56:24 -080030 "android/util/StatsEventParcel.aidl",
31 ],
Ruchir Rastogicd9dd942019-11-27 15:26:03 -080032 backend: {
33 java: {
Ruchir Rastogi86379b12020-01-31 12:29:32 -080034 enabled: false, // the platform uses statsd_java_aidl
Ruchir Rastogicd9dd942019-11-27 15:26:03 -080035 },
36 cpp: {
Tej Singhd8758952020-02-18 17:59:31 -080037 enabled: false,
Ruchir Rastogi86379b12020-01-31 12:29:32 -080038 },
39 ndk: {
40 enabled: true,
Ruchir Rastogif4a77432020-02-18 12:19:12 -080041 apex_available: [
42 // TODO(b/145923087): Remove this once statsd binary is in apex
43 "//apex_available:platform",
44
45 "com.android.os.statsd",
46 "test_com.android.os.statsd",
47 ],
48 },
Wonsik Kimdba4dfa2020-02-14 11:13:22 -080049 }
Ruchir Rastogicd9dd942019-11-27 15:26:03 -080050}