blob: 765a44c787af11f538bc3eeaae603aaf331674aa [file] [log] [blame]
Muhammad Qureshi564b3642019-08-16 16:32:29 -07001// Copyright (C) 2019 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.
14
15apex {
16 name: "com.android.os.statsd",
Howard Ro92e1c6e2019-12-10 19:04:44 -080017 defaults: ["com.android.os.statsd-defaults"],
Muhammad Qureshi564b3642019-08-16 16:32:29 -070018 manifest: "apex_manifest.json",
Howard Ro92e1c6e2019-12-10 19:04:44 -080019}
20
21apex_defaults {
Jooyung Han67c9ee92020-08-28 16:58:36 +090022 jni_libs: [
Tej Singh0ff1bb32020-01-29 19:07:38 -080023 "libstats_jni",
Jooyung Han67c9ee92020-08-28 16:58:36 +090024 ],
25 native_shared_libs: [
Muhammad Qureshi788d2392020-02-18 16:45:06 -080026 "libstatspull",
27 "libstatssocket",
Tej Singh0ff1bb32020-01-29 19:07:38 -080028 ],
Howard Robb6cd0b2020-02-20 04:57:00 +000029 binaries: ["statsd"],
Muhammad Qureshiff02d482019-12-12 11:03:55 -080030 java_libs: [
31 "framework-statsd",
32 "service-statsd",
33 ],
Muhammad Qureshi1b89df12020-02-18 11:30:17 -080034 compile_multilib: "both",
Howard Robb6cd0b2020-02-20 04:57:00 +000035 prebuilts: ["com.android.os.statsd.init.rc"],
Howard Ro92e1c6e2019-12-10 19:04:44 -080036 name: "com.android.os.statsd-defaults",
Jiyong Park14e691e2020-02-24 18:36:46 +090037 updatable: true,
Nikita Ioffe93bd3592020-11-12 03:38:38 +000038 min_sdk_version: "30",
Muhammad Qureshi564b3642019-08-16 16:32:29 -070039 key: "com.android.os.statsd.key",
40 certificate: ":com.android.os.statsd.certificate",
41}
42
43apex_key {
44 name: "com.android.os.statsd.key",
45 public_key: "com.android.os.statsd.avbpubkey",
46 private_key: "com.android.os.statsd.pem",
47}
48
49android_app_certificate {
50 name: "com.android.os.statsd.certificate",
51 // This will use com.android.os.statsd.x509.pem (the cert) and
52 // com.android.os.statsd.pk8 (the private key)
53 certificate: "com.android.os.statsd",
54}
Tej Singh0ff1bb32020-01-29 19:07:38 -080055
Howard Robb6cd0b2020-02-20 04:57:00 +000056prebuilt_etc {
57 name: "com.android.os.statsd.init.rc",
58 src: "statsd.rc",
59 filename: "init.rc",
60 installable: false,
61}
Tej Singh0ff1bb32020-01-29 19:07:38 -080062
Eric Holkcabc5702021-02-04 00:25:50 +000063// ==========================================================
64// Make stats-log-api-gen available to unbundled modules
65// ==========================================================
66module_exports {
67 name: "stats-log-api-gen-exports",
68 host_supported: true,
69 device_supported: false,
70 compile_multilib: "64",
71 native_binaries: [
72 "stats-log-api-gen",
73 ],
74}