1/* 2 * Copyright 2019 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package { 18 // Inherits all licenses from parent to get Apache 2.0 and package name 19 default_applicable_licenses: [ 20 "packages_modules_NeuralNetworks_license", 21 ], 22} 23 24apex_key { 25 name: "com.android.neuralnetworks.key", 26 public_key: "com.android.neuralnetworks.avbpubkey", 27 private_key: "com.android.neuralnetworks.pem", 28} 29 30android_app_certificate { 31 name: "com.android.neuralnetworks.certificate", 32 certificate: "com.android.neuralnetworks", 33} 34 35filegroup { 36 name: "com.android.neuralnetworks-androidManifest", 37 srcs: ["AndroidManifest.xml"], 38} 39 40apex_defaults { 41 name: "com.android.neuralnetworks-defaults", 42 defaults: ["r-launched-apex-module"], 43 androidManifest: ":com.android.neuralnetworks-androidManifest", 44 native_shared_libs: [ 45 "libneuralnetworks", 46 ], 47 compile_multilib: "both", 48 key: "com.android.neuralnetworks.key", 49 certificate: ":com.android.neuralnetworks.certificate", 50 // Indicates that pre-installed version of this apex can be compressed. 51 // Whether it actually will be compressed is controlled on per-device basis. 52 compressible: true, 53} 54 55apex { 56 name: "com.android.neuralnetworks", 57 defaults: ["com.android.neuralnetworks-defaults"], 58 manifest: "manifest.json", 59} 60