1// Copyright 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// Defaults shared between production and test versions of the APEX.
16apex_defaults {
17    name: "com.android.ipsec-defaults",
18    updatable: true,
19    min_sdk_version: "R",
20    java_libs: ["android.net.ipsec.ike"],
21    key: "com.android.ipsec.key",
22    certificate: ":com.android.ipsec.certificate",
23}
24
25// Production APEX
26apex {
27    name: "com.android.ipsec",
28    defaults: ["com.android.ipsec-defaults"],
29    manifest: "apex_manifest.json",
30}
31
32apex_key {
33    name: "com.android.ipsec.key",
34    public_key: "com.android.ipsec.avbpubkey",
35    private_key: "com.android.ipsec.pem"
36}
37
38android_app_certificate {
39     name: "com.android.ipsec.certificate",
40
41     // Will use com.android.ipsec.pk8 and com.android.ipsec.x509.pem
42     certificate: "com.android.ipsec",
43}
44