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 16apex { 17 name: "com.android.resolv", 18 updatable: true, 19 manifest: "manifest.json", 20 multilib: { 21 first: { 22 native_shared_libs: ["libnetd_resolv"], 23 }, 24 }, 25 key: "com.android.resolv.key", 26 certificate: ":com.android.resolv.certificate", 27 28 // Use a custom AndroidManifest.xml used for API targeting. 29 androidManifest: "AndroidManifest.xml", 30 31 // IMPORTANT: For the APEX to be installed on Android 10, 32 // min_sdk_version should be 29. This enables the build system to make 33 // sure the package compatible to Android 10 in two ways: 34 // - build the APEX package compatible to Android 10 35 // so that the package can be installed. 36 // - build artifacts (lib/javalib/bin) against Android 10 SDK 37 // so that the artifacts can run. 38 min_sdk_version: "29", 39} 40 41apex_key { 42 name: "com.android.resolv.key", 43 public_key: "com.android.resolv.avbpubkey", 44 private_key: "com.android.resolv.pem", 45} 46 47android_app_certificate { 48 name: "com.android.resolv.certificate", 49 // will use cert.pk8 and cert.x509.pem 50 certificate: "testcert", 51} 52