blob: 5f72dc9b40b024e7714dd16a2f0f5dfc5a3d81fe [file] [log] [blame]
Dario Freni857738f2020-01-23 10:03:25 +00001// 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
15android_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
22apex_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
28apex {
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
38apex {
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 Han329d4872020-03-12 18:43:01 +090045 min_sdk_version: "29",
Dario Freni857738f2020-01-23 10:03:25 +000046 installable: false,
47}
Nikita Ioffe81df65e2020-03-23 22:04:50 +000048
49apex {
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
60apex {
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}