• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21apex_key {
22    name: "com.android.neuralnetworks.key",
23    public_key: "com.android.neuralnetworks.avbpubkey",
24    private_key: "com.android.neuralnetworks.pem",
25}
26
27android_app_certificate {
28    name: "com.android.neuralnetworks.certificate",
29    certificate: "com.android.neuralnetworks",
30}
31
32filegroup {
33    name: "com.android.neuralnetworks-androidManifest",
34    srcs: ["AndroidManifest.xml"],
35}
36
37apex_defaults {
38    name: "com.android.neuralnetworks-defaults",
39    updatable: true,
40    min_sdk_version: "30",
41    androidManifest: ":com.android.neuralnetworks-androidManifest",
42    native_shared_libs: [
43        "libneuralnetworks",
44    ],
45    compile_multilib: "both",
46    key: "com.android.neuralnetworks.key",
47    certificate: ":com.android.neuralnetworks.certificate",
48    // Indicates that pre-installed version of this apex can be compressed.
49    // Whether it actually will be compressed is controlled on per-device basis.
50    compressible: true,
51}
52
53apex {
54    name: "com.android.neuralnetworks",
55    defaults: ["com.android.neuralnetworks-defaults"],
56    manifest: "manifest.json",
57}
58