blob: 1ac370dda1088e5661aa119dc78a3555c601ace0 [file] [log] [blame]
Motomu Utsumiceb2a752022-10-04 18:38:04 +09001// Copyright (C) 2019 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
15package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19apex_defaults {
20 name: "com.android.cronet-defaults",
21 compile_multilib: "both",
22 jni_libs: ["libcronet.80.0.3986.0"],
23 java_libs: ["org.chromium.net.cronet"],
24 key: "com.android.cronet.key",
25 certificate: ":com.android.cronet.certificate",
26 updatable: false,
27 generate_hashtree: false,
28
29 // Use a custom AndroidManifest.xml used for API targeting.
30 androidManifest: ":cronet-manifest.xml",
31}
32
33filegroup {
34 name: "cronet-manifest.xml",
35 srcs: [
36 "AndroidManifest.xml",
37 ],
38}
39
40apex {
41 name: "com.android.cronet",
42 defaults: ["com.android.cronet-defaults"],
43 manifest: "manifest.json",
44}
45
46apex_key {
47 name: "com.android.cronet.key",
48 public_key: "com.android.cronet.avbpubkey",
49 private_key: "com.android.cronet.pem",
50}
51
52android_app_certificate {
53 name: "com.android.cronet.certificate",
54 certificate: "com.android.cronet",
55}