blob: 64362da254da57163d6ac9a755b73af43f5c2a57 [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
Motomu Utsumi98a98202022-10-11 17:08:11 +090019// CronetApexDefaults uses apex_defaults cronet_apex_defaults specifies. cronet_apex_defaults
20// could be "CronetApexDefaultsEnabled" or "CronetApexDefaultsDisabled" depending on the branch.
21cronet_apex_defaults = "CronetApexDefaultsEnabled"
22// This is a placeholder comment to avoid merge conflicts
23// as cronet_apex_defaults may have different values
24// depending on the branch
25
26apex_defaults {
27 name: "CronetApexDefaults",
28 defaults: [cronet_apex_defaults],
29}
30
31apex_defaults {
32 name: "CronetApexDefaultsEnabled",
33 jni_libs: ["libcronet.80.0.3986.0"],
Motomu Utsumi6dca85d2022-10-11 18:32:15 +090034 java_libs: ["framework-cronet"],
Motomu Utsumi98a98202022-10-11 17:08:11 +090035}
36
37apex_defaults {
38 name: "CronetApexDefaultsDisabled",
39}
40
Motomu Utsumi402b18d2022-10-11 17:21:41 +090041// TODO: Remove cronet apex after com.android.cronet is removed from PRODUCT_PACKAGES
Motomu Utsumiceb2a752022-10-04 18:38:04 +090042apex {
43 name: "com.android.cronet",
Motomu Utsumi402b18d2022-10-11 17:21:41 +090044 key: "com.android.cronet.key",
45 updatable: false,
Motomu Utsumiceb2a752022-10-04 18:38:04 +090046 manifest: "manifest.json",
47}
48
49apex_key {
50 name: "com.android.cronet.key",
51 public_key: "com.android.cronet.avbpubkey",
52 private_key: "com.android.cronet.pem",
53}