1*33f37583SAndroid Build Coastguard Worker// Copyright (C) 2020 The Android Open Source Project 2*33f37583SAndroid Build Coastguard Worker// 3*33f37583SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*33f37583SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*33f37583SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*33f37583SAndroid Build Coastguard Worker// 7*33f37583SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*33f37583SAndroid Build Coastguard Worker// 9*33f37583SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*33f37583SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*33f37583SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*33f37583SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*33f37583SAndroid Build Coastguard Worker// limitations under the License. 14*33f37583SAndroid Build Coastguard Worker 15*33f37583SAndroid Build Coastguard Workerpackage { 16*33f37583SAndroid Build Coastguard Worker default_applicable_licenses: ["Android-Apache-2.0"], 17*33f37583SAndroid Build Coastguard Worker} 18*33f37583SAndroid Build Coastguard Worker 19*33f37583SAndroid Build Coastguard Workerandroid_app_certificate { 20*33f37583SAndroid Build Coastguard Worker name: "com.android.example.apex.certificate", 21*33f37583SAndroid Build Coastguard Worker // This will use com.android.my.apex.x509.pem (the cert) and 22*33f37583SAndroid Build Coastguard Worker // com.android.my.apex.pk8 (the private key) 23*33f37583SAndroid Build Coastguard Worker certificate: "com.android.example.apex", 24*33f37583SAndroid Build Coastguard Worker} 25*33f37583SAndroid Build Coastguard Worker 26*33f37583SAndroid Build Coastguard Workerapex_key { 27*33f37583SAndroid Build Coastguard Worker name: "com.android.example.apex.key", 28*33f37583SAndroid Build Coastguard Worker public_key: "com.android.example.apex.avbpubkey", 29*33f37583SAndroid Build Coastguard Worker private_key: "com.android.example.apex.pem", 30*33f37583SAndroid Build Coastguard Worker} 31*33f37583SAndroid Build Coastguard Worker 32*33f37583SAndroid Build Coastguard Workerapex { 33*33f37583SAndroid Build Coastguard Worker name: "com.android.example.apex", 34*33f37583SAndroid Build Coastguard Worker manifest: "manifest.json", 35*33f37583SAndroid Build Coastguard Worker file_contexts: ":apex.test-file_contexts", 36*33f37583SAndroid Build Coastguard Worker prebuilts: ["sample_prebuilt_file"], 37*33f37583SAndroid Build Coastguard Worker key: "com.android.example.apex.key", 38*33f37583SAndroid Build Coastguard Worker certificate: ":com.android.example.apex.certificate", 39*33f37583SAndroid Build Coastguard Worker installable: false, 40*33f37583SAndroid Build Coastguard Worker updatable: false, 41*33f37583SAndroid Build Coastguard Worker} 42*33f37583SAndroid Build Coastguard Worker 43*33f37583SAndroid Build Coastguard Workerapex { 44*33f37583SAndroid Build Coastguard Worker name: "com.android.example-legacy.apex", 45*33f37583SAndroid Build Coastguard Worker manifest: "manifest.json", 46*33f37583SAndroid Build Coastguard Worker file_contexts: ":apex.test-file_contexts", 47*33f37583SAndroid Build Coastguard Worker prebuilts: ["sample_prebuilt_file"], 48*33f37583SAndroid Build Coastguard Worker key: "com.android.example.apex.key", 49*33f37583SAndroid Build Coastguard Worker certificate: ":com.android.example.apex.certificate", 50*33f37583SAndroid Build Coastguard Worker min_sdk_version: "29", 51*33f37583SAndroid Build Coastguard Worker installable: false, 52*33f37583SAndroid Build Coastguard Worker} 53*33f37583SAndroid Build Coastguard Worker 54*33f37583SAndroid Build Coastguard Workerapex { 55*33f37583SAndroid Build Coastguard Worker name: "com.android.example-logging_parent.apex", 56*33f37583SAndroid Build Coastguard Worker manifest: "manifest.json", 57*33f37583SAndroid Build Coastguard Worker file_contexts: ":apex.test-file_contexts", 58*33f37583SAndroid Build Coastguard Worker prebuilts: ["sample_prebuilt_file"], 59*33f37583SAndroid Build Coastguard Worker key: "com.android.example.apex.key", 60*33f37583SAndroid Build Coastguard Worker certificate: ":com.android.example.apex.certificate", 61*33f37583SAndroid Build Coastguard Worker installable: false, 62*33f37583SAndroid Build Coastguard Worker logging_parent: "foobar", 63*33f37583SAndroid Build Coastguard Worker updatable: false, 64*33f37583SAndroid Build Coastguard Worker} 65*33f37583SAndroid Build Coastguard Worker 66*33f37583SAndroid Build Coastguard Workerapex { 67*33f37583SAndroid Build Coastguard Worker name: "com.android.example-overridden_package_name.apex", 68*33f37583SAndroid Build Coastguard Worker manifest: "manifest.json", 69*33f37583SAndroid Build Coastguard Worker file_contexts: ":apex.test-file_contexts", 70*33f37583SAndroid Build Coastguard Worker prebuilts: ["sample_prebuilt_file"], 71*33f37583SAndroid Build Coastguard Worker key: "com.android.example.apex.key", 72*33f37583SAndroid Build Coastguard Worker certificate: ":com.android.example.apex.certificate", 73*33f37583SAndroid Build Coastguard Worker installable: false, 74*33f37583SAndroid Build Coastguard Worker package_name: "com.android.overridden.example.apex", 75*33f37583SAndroid Build Coastguard Worker updatable: false, 76*33f37583SAndroid Build Coastguard Worker} 77