Ruchir Rastogi | 44bb817 | 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 | // |
Bob Badour | 21c8a12 | 2021-02-03 18:34:19 -0800 | [diff] [blame] | 16 | package { |
| 17 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 18 | } |
| 19 | |
Ruchir Rastogi | 44bb817 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 20 | filegroup { |
Muhammad Qureshi | c15cb8c | 2020-02-09 13:27:28 -0800 | [diff] [blame] | 21 | name: "framework-statsd-aidl-sources", |
Ruchir Rastogi | 7777407 | 2020-01-31 12:29:32 -0800 | [diff] [blame] | 22 | srcs: ["**/*.aidl"], |
| 23 | } |
| 24 | |
| 25 | aidl_interface { |
| 26 | name: "statsd-aidl", |
Jiyong Park | 0f8d8de | 2020-04-13 12:55:24 +0900 | [diff] [blame] | 27 | unstable: true, |
Jeffrey Huang | 3b3304e | 2019-12-12 10:56:24 -0800 | [diff] [blame] | 28 | srcs: [ |
Jeffrey Huang | df5eea2 | 2019-12-16 13:50:06 -0800 | [diff] [blame] | 29 | "android/os/IPendingIntentRef.aidl", |
Jeffrey Huang | 3b3304e | 2019-12-12 10:56:24 -0800 | [diff] [blame] | 30 | "android/os/IPullAtomCallback.aidl", |
| 31 | "android/os/IPullAtomResultReceiver.aidl", |
| 32 | "android/os/IStatsCompanionService.aidl", |
| 33 | "android/os/IStatsd.aidl", |
Ruchir Rastogi | 7777407 | 2020-01-31 12:29:32 -0800 | [diff] [blame] | 34 | "android/os/StatsDimensionsValueParcel.aidl", |
Jeffrey Huang | 3b3304e | 2019-12-12 10:56:24 -0800 | [diff] [blame] | 35 | "android/util/StatsEventParcel.aidl", |
| 36 | ], |
Salud Lemus | 0133c1e | 2020-07-22 19:53:44 +0000 | [diff] [blame] | 37 | host_supported: true, |
Ruchir Rastogi | 44bb817 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 38 | backend: { |
| 39 | java: { |
Tej Singh | 6c50ab0 | 2020-01-29 15:59:35 -0800 | [diff] [blame] | 40 | enabled: false, // framework-statsd and service-statsd use framework-statsd-aidl-sources |
Ruchir Rastogi | 44bb817 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 41 | }, |
| 42 | cpp: { |
Tej Singh | d75dd1d | 2020-02-18 17:59:31 -0800 | [diff] [blame] | 43 | enabled: false, |
Ruchir Rastogi | 7777407 | 2020-01-31 12:29:32 -0800 | [diff] [blame] | 44 | }, |
| 45 | ndk: { |
| 46 | enabled: true, |
Ruchir Rastogi | 76ae635 | 2020-02-18 12:19:12 -0800 | [diff] [blame] | 47 | apex_available: [ |
| 48 | // TODO(b/145923087): Remove this once statsd binary is in apex |
| 49 | "//apex_available:platform", |
| 50 | |
| 51 | "com.android.os.statsd", |
| 52 | "test_com.android.os.statsd", |
| 53 | ], |
Jooyung Han | be20da0 | 2021-02-16 17:31:47 +0900 | [diff] [blame] | 54 | min_sdk_version: "30", |
Ruchir Rastogi | 76ae635 | 2020-02-18 12:19:12 -0800 | [diff] [blame] | 55 | }, |
Wonsik Kim | c772ea0 | 2020-02-14 11:13:22 -0800 | [diff] [blame] | 56 | } |
Ruchir Rastogi | 44bb817 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 57 | } |