Ruchir Rastogi | cd9dd94 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 1 | // |
| 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 Rastogi | cd9dd94 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 16 | filegroup { |
Ruchir Rastogi | 86379b1 | 2020-01-31 12:29:32 -0800 | [diff] [blame^] | 17 | name: "statsd_java_aidl", |
| 18 | srcs: ["**/*.aidl"], |
| 19 | } |
| 20 | |
| 21 | aidl_interface { |
| 22 | name: "statsd-aidl", |
Jeffrey Huang | 8c1ae5a | 2019-12-12 10:56:24 -0800 | [diff] [blame] | 23 | srcs: [ |
Jeffrey Huang | ad21374 | 2019-12-16 13:50:06 -0800 | [diff] [blame] | 24 | "android/os/IPendingIntentRef.aidl", |
Jeffrey Huang | 8c1ae5a | 2019-12-12 10:56:24 -0800 | [diff] [blame] | 25 | "android/os/IPullAtomCallback.aidl", |
| 26 | "android/os/IPullAtomResultReceiver.aidl", |
| 27 | "android/os/IStatsCompanionService.aidl", |
| 28 | "android/os/IStatsd.aidl", |
Ruchir Rastogi | 86379b1 | 2020-01-31 12:29:32 -0800 | [diff] [blame^] | 29 | "android/os/StatsDimensionsValueParcel.aidl", |
Jeffrey Huang | 8c1ae5a | 2019-12-12 10:56:24 -0800 | [diff] [blame] | 30 | "android/util/StatsEventParcel.aidl", |
| 31 | ], |
Ruchir Rastogi | cd9dd94 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 32 | backend: { |
| 33 | java: { |
Ruchir Rastogi | 86379b1 | 2020-01-31 12:29:32 -0800 | [diff] [blame^] | 34 | enabled: false, // the platform uses statsd_java_aidl |
Ruchir Rastogi | cd9dd94 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 35 | }, |
| 36 | cpp: { |
Ruchir Rastogi | 86379b1 | 2020-01-31 12:29:32 -0800 | [diff] [blame^] | 37 | enabled: true, |
| 38 | }, |
| 39 | ndk: { |
| 40 | enabled: true, |
Ruchir Rastogi | cd9dd94 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 41 | } |
| 42 | } |
| 43 | } |