Muhammad Qureshi | b7c60a5 | 2019-08-16 16:32:29 -0700 | [diff] [blame] | 1 | // 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 | |
| 15 | apex { |
| 16 | name: "com.android.os.statsd", |
Howard Ro | f40a3a9 | 2019-12-10 19:04:44 -0800 | [diff] [blame] | 17 | defaults: ["com.android.os.statsd-defaults"], |
Muhammad Qureshi | b7c60a5 | 2019-08-16 16:32:29 -0700 | [diff] [blame] | 18 | manifest: "apex_manifest.json", |
Howard Ro | f40a3a9 | 2019-12-10 19:04:44 -0800 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | apex_defaults { |
Muhammad Qureshi | b7c60a5 | 2019-08-16 16:32:29 -0700 | [diff] [blame] | 22 | // libc.so and libcutils.so are included in the apex |
| 23 | // native_shared_libs: ["libc", "libcutils"], |
| 24 | // binaries: ["vold"], |
Tej Singh | ccd00916 | 2019-12-11 15:57:44 -0800 | [diff] [blame] | 25 | java_libs: ["service-statsd"], |
Muhammad Qureshi | b7c60a5 | 2019-08-16 16:32:29 -0700 | [diff] [blame] | 26 | // prebuilts: ["my_prebuilt"], |
Howard Ro | f40a3a9 | 2019-12-10 19:04:44 -0800 | [diff] [blame] | 27 | name: "com.android.os.statsd-defaults", |
Muhammad Qureshi | b7c60a5 | 2019-08-16 16:32:29 -0700 | [diff] [blame] | 28 | key: "com.android.os.statsd.key", |
| 29 | certificate: ":com.android.os.statsd.certificate", |
| 30 | } |
| 31 | |
| 32 | apex_key { |
| 33 | name: "com.android.os.statsd.key", |
| 34 | public_key: "com.android.os.statsd.avbpubkey", |
| 35 | private_key: "com.android.os.statsd.pem", |
| 36 | } |
| 37 | |
| 38 | android_app_certificate { |
| 39 | name: "com.android.os.statsd.certificate", |
| 40 | // This will use com.android.os.statsd.x509.pem (the cert) and |
| 41 | // com.android.os.statsd.pk8 (the private key) |
| 42 | certificate: "com.android.os.statsd", |
| 43 | } |