Dario Freni | 857738f | 2020-01-23 10:03:25 +0000 | [diff] [blame] | 1 | // Copyright (C) 2020 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 | android_app_certificate { |
| 16 | name: "com.android.example.apex.certificate", |
| 17 | // This will use com.android.my.apex.x509.pem (the cert) and |
| 18 | // com.android.my.apex.pk8 (the private key) |
| 19 | certificate: "com.android.example.apex", |
| 20 | } |
| 21 | |
| 22 | apex_key { |
| 23 | name: "com.android.example.apex.key", |
| 24 | public_key: "com.android.example.apex.avbpubkey", |
| 25 | private_key: "com.android.example.apex.pem", |
| 26 | } |
| 27 | |
| 28 | apex { |
| 29 | name: "com.android.example.apex", |
| 30 | manifest: "manifest.json", |
| 31 | file_contexts: ":apex.test-file_contexts", |
| 32 | prebuilts: ["sample_prebuilt_file"], |
| 33 | key: "com.android.example.apex.key", |
| 34 | certificate: ":com.android.example.apex.certificate", |
| 35 | installable: false, |
| 36 | } |
| 37 | |
| 38 | apex { |
| 39 | name: "com.android.example-legacy.apex", |
| 40 | manifest: "manifest.json", |
| 41 | file_contexts: ":apex.test-file_contexts", |
| 42 | prebuilts: ["sample_prebuilt_file"], |
| 43 | key: "com.android.example.apex.key", |
| 44 | certificate: ":com.android.example.apex.certificate", |
Jooyung Han | 329d487 | 2020-03-12 18:43:01 +0900 | [diff] [blame] | 45 | min_sdk_version: "29", |
Dario Freni | 857738f | 2020-01-23 10:03:25 +0000 | [diff] [blame] | 46 | installable: false, |
| 47 | } |
Nikita Ioffe | 81df65e | 2020-03-23 22:04:50 +0000 | [diff] [blame] | 48 | |
| 49 | apex { |
| 50 | name: "com.android.example-logging_parent.apex", |
| 51 | manifest: "manifest.json", |
| 52 | file_contexts: ":apex.test-file_contexts", |
| 53 | prebuilts: ["sample_prebuilt_file"], |
| 54 | key: "com.android.example.apex.key", |
| 55 | certificate: ":com.android.example.apex.certificate", |
| 56 | installable: false, |
| 57 | logging_parent: "foobar", |
| 58 | } |
| 59 | |
| 60 | apex { |
| 61 | name: "com.android.example-overridden_package_name.apex", |
| 62 | manifest: "manifest.json", |
| 63 | file_contexts: ":apex.test-file_contexts", |
| 64 | prebuilts: ["sample_prebuilt_file"], |
| 65 | key: "com.android.example.apex.key", |
| 66 | certificate: ":com.android.example.apex.certificate", |
| 67 | installable: false, |
| 68 | package_name: "com.android.overridden.example.apex", |
| 69 | } |