blob: f66cf7c9e23c625c3d93143f75bc56a55bce7772 [file] [log] [blame]
Ruchir Rastogi44bb8172019-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 Rastogi44bb8172019-11-27 15:26:03 -080016filegroup {
Muhammad Qureshic15cb8c2020-02-09 13:27:28 -080017 name: "framework-statsd-aidl-sources",
Ruchir Rastogi77774072020-01-31 12:29:32 -080018 srcs: ["**/*.aidl"],
19}
20
21aidl_interface {
22 name: "statsd-aidl",
Jiyong Park0f8d8de2020-04-13 12:55:24 +090023 unstable: true,
Jeffrey Huang3b3304e2019-12-12 10:56:24 -080024 srcs: [
Jeffrey Huangdf5eea22019-12-16 13:50:06 -080025 "android/os/IPendingIntentRef.aidl",
Jeffrey Huang3b3304e2019-12-12 10:56:24 -080026 "android/os/IPullAtomCallback.aidl",
27 "android/os/IPullAtomResultReceiver.aidl",
28 "android/os/IStatsCompanionService.aidl",
29 "android/os/IStatsd.aidl",
Ruchir Rastogi77774072020-01-31 12:29:32 -080030 "android/os/StatsDimensionsValueParcel.aidl",
Jeffrey Huang3b3304e2019-12-12 10:56:24 -080031 "android/util/StatsEventParcel.aidl",
32 ],
Salud Lemus0133c1e2020-07-22 19:53:44 +000033 host_supported: true,
Ruchir Rastogi44bb8172019-11-27 15:26:03 -080034 backend: {
35 java: {
Tej Singh6c50ab02020-01-29 15:59:35 -080036 enabled: false, // framework-statsd and service-statsd use framework-statsd-aidl-sources
Ruchir Rastogi44bb8172019-11-27 15:26:03 -080037 },
38 cpp: {
Tej Singhd75dd1d2020-02-18 17:59:31 -080039 enabled: false,
Ruchir Rastogi77774072020-01-31 12:29:32 -080040 },
41 ndk: {
42 enabled: true,
Ruchir Rastogi76ae6352020-02-18 12:19:12 -080043 apex_available: [
44 // TODO(b/145923087): Remove this once statsd binary is in apex
45 "//apex_available:platform",
46
47 "com.android.os.statsd",
48 "test_com.android.os.statsd",
49 ],
50 },
Wonsik Kimc772ea02020-02-14 11:13:22 -080051 }
Ruchir Rastogi44bb8172019-11-27 15:26:03 -080052}