blob: 81af6ffdee6ed9b6c7b037f12ef5ce05745d4d57 [file] [log] [blame]
Remi NGUYEN VANa0fe0d42019-03-26 17:24:48 +09001//
2// Copyright (C) 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
Bob Badour968beab2021-02-12 18:39:08 -080017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Remi NGUYEN VAN90d9a8e2019-05-15 16:14:51 +090021java_defaults {
22 name: "NetworkPermissionConfigDefaults",
Remi NGUYEN VANa0fe0d42019-03-26 17:24:48 +090023 platform_apis: true,
Jooyung Han8cfa6272020-06-16 14:37:42 +090024 target_sdk_version: "30",
25 min_sdk_version: "29",
Remi NGUYEN VANa0fe0d42019-03-26 17:24:48 +090026 privileged: true,
27 manifest: "AndroidManifest.xml",
28}
Remi NGUYEN VAN90d9a8e2019-05-15 16:14:51 +090029
30// Stub APK to define permissions for NetworkStack
31android_app {
32 name: "NetworkPermissionConfig",
33 defaults: ["NetworkPermissionConfigDefaults"],
34 certificate: "networkstack",
35}
36
37// Alternative stub APK signed with platform certificate. To use with InProcessNetworkStack.
38android_app {
39 name: "PlatformNetworkPermissionConfig",
40 defaults: ["NetworkPermissionConfigDefaults"],
41 certificate: "platform",
42 overrides: ["NetworkPermissionConfig"],
43}