// Copyright (C) 2018 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. apex { name: "com.android.resolv", updatable: true, manifest: "manifest.json", multilib: { first: { native_shared_libs: ["libnetd_resolv"], }, }, key: "com.android.resolv.key", certificate: ":com.android.resolv.certificate", // Use a custom AndroidManifest.xml used for API targeting. androidManifest: "AndroidManifest.xml", // IMPORTANT: For the APEX to be installed on Android 10, // min_sdk_version should be 29. This enables the build system to make // sure the package compatible to Android 10 in two ways: // - build the APEX package compatible to Android 10 // so that the package can be installed. // - build artifacts (lib/javalib/bin) against Android 10 SDK // so that the artifacts can run. min_sdk_version: "29", } apex_key { name: "com.android.resolv.key", public_key: "com.android.resolv.avbpubkey", private_key: "com.android.resolv.pem", } android_app_certificate { name: "com.android.resolv.certificate", // will use cert.pk8 and cert.x509.pem certificate: "testcert", }