blob: 5f1f26d88171a6b29560471e352d287d48f01ec4 [file] [log] [blame]
Remi NGUYEN VANded23152018-12-07 16:52:24 +09001//
2// Copyright (C) 2018 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
17// Library including the network stack, used to compile the network stack app, or linked into the
18// system server on devices that run the stack there
19java_library {
20 name: "NetworkStackLib",
Remi NGUYEN VANf66337f2019-01-29 21:32:48 +090021 sdk_version: "system_current",
Remi NGUYEN VANded23152018-12-07 16:52:24 +090022 installable: true,
23 srcs: [
24 "src/**/*.java",
Remi NGUYEN VAN82b4b422019-01-20 09:35:10 +090025 ":framework-networkstack-shared-srcs",
Remi NGUYEN VAN5daa3702018-12-27 16:43:56 +090026 ":services-networkstack-shared-srcs",
Remi NGUYEN VANded23152018-12-07 16:52:24 +090027 ],
Remi NGUYEN VAN057bf202018-12-04 12:13:09 +090028 static_libs: [
Remi NGUYEN VAN6e9fdbd2019-01-29 15:38:52 +090029 "netd_aidl_interface-java",
30 "networkstack-aidl-interfaces-java",
Chiachang Wang8b5f84a2019-02-22 11:13:07 +080031 "datastallprotosnano",
Remi NGUYEN VAN057bf202018-12-04 12:13:09 +090032 ]
Remi NGUYEN VANded23152018-12-07 16:52:24 +090033}
34
35// Updatable network stack packaged as an application
36android_app {
37 name: "NetworkStack",
Remi NGUYEN VANf66337f2019-01-29 21:32:48 +090038 sdk_version: "system_current",
Remi NGUYEN VANd8327a22019-02-15 17:45:03 +090039 certificate: "networkstack",
Remi NGUYEN VANded23152018-12-07 16:52:24 +090040 privileged: true,
41 static_libs: [
42 "NetworkStackLib"
43 ],
Remi NGUYEN VANe99c73e2019-02-14 18:19:14 +090044 jarjar_rules: "jarjar-rules-shared.txt",
Remi NGUYEN VANded23152018-12-07 16:52:24 +090045 manifest: "AndroidManifest.xml",
Remi NGUYEN VANd65832e2019-01-30 21:45:56 +090046 required: ["NetworkStackPermissionStub"],
Chiachang Wang8b5f84a2019-02-22 11:13:07 +080047}