1 // Copyright (C) 2018 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 real and test versions of the APEX. 16 apex_defaults { 17 name: "com.android.conscrypt-defaults", 18 androidManifest: ":com.android.conscrypt-androidManifest", 19 compile_multilib: "both", 20 java_libs: ["conscrypt"], 21 native_shared_libs: ["libjavacrypto"], 22 key: "apex.conscrypt.key", 23 certificate: ":com.android.conscrypt.certificate", 24 } 25 26 filegroup { 27 name: "com.android.conscrypt-androidManifest", 28 srcs: ["AndroidManifest.xml"], 29 } 30 31 apex_key { 32 name: "apex.conscrypt.key", 33 public_key: "com.android.conscrypt.avbpubkey", 34 private_key: "com.android.conscrypt.pem", 35 } 36 37 android_app_certificate { 38 name: "com.android.conscrypt.certificate", 39 certificate: "com.android.conscrypt", 40 } 41 42 // Production APEX 43 apex { 44 name: "com.android.conscrypt", 45 defaults: ["com.android.conscrypt-defaults"], 46 manifest: "apex_manifest.json", 47 } 48