1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10filegroup { 11 name: "services.net-sources", 12 srcs: ["java/**/*.java"], 13 path: "java", 14 visibility: ["//frameworks/base/services"], 15} 16 17java_library_static { 18 name: "services.net", 19 defaults: ["platform_service_defaults"], 20 srcs: [ 21 ":services.net-sources", 22 ], 23 static_libs: [ 24 "netd-client", 25 "networkstack-client", 26 "net-utils-services-common", 27 ], 28} 29 30filegroup { 31 name: "services-tethering-shared-srcs", 32 srcs: [ 33 ":framework-annotations", 34 "java/android/net/util/NetworkConstants.java", 35 ], 36 visibility: [ 37 "//frameworks/base/packages/Tethering", 38 "//packages/modules/Connectivity/Tethering", 39 ], 40} 41 42filegroup { 43 name: "services-connectivity-shared-srcs", 44 srcs: [ 45 // TODO: move to libs/net 46 "java/android/net/util/NetworkConstants.java", 47 ], 48} 49