1// This is auto-generated. DO NOT EDIT. 2 3package { 4 // A default list here prevents the license LSC from adding its own list which would 5 // be unnecessary as every module in the sdk already has its own licenses property. 6 default_applicable_licenses: ["Android-Apache-2.0"], 7} 8 9apex_contributions_defaults { 10 name: "tethering-module-sdk.contributions", 11 contents: [ 12 "prebuilt_connectivity-platform-compat-config", 13 "prebuilt_framework-connectivity", 14 "prebuilt_framework-connectivity-t", 15 "prebuilt_framework-tethering", 16 "prebuilt_libcom.android.tethering.dns_helper", 17 "prebuilt_libnetd_updatable", 18 ], 19} 20 21prebuilt_bootclasspath_fragment { 22 name: "com.android.tethering-bootclasspath-fragment", 23 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "tethering_module" is true. 24 use_source_config_var: { 25 config_namespace: "tethering_module", 26 var_name: "source_build", 27 }, 28 visibility: ["//visibility:public"], 29 apex_available: ["com.android.tethering"], 30 licenses: ["tethering-module-sdk_Android-Apache-2.0"], 31 contents: [ 32 "framework-connectivity", 33 "framework-connectivity-t", 34 "framework-tethering", 35 ], 36 fragments: [ 37 { 38 apex: "com.android.art", 39 module: "art-bootclasspath-fragment", 40 }, 41 ], 42 hidden_api: { 43 unsupported: [ 44 "hiddenapi/hiddenapi-unsupported.txt", 45 "hiddenapi/hiddenapi-unsupported-tiramisu.txt", 46 ], 47 max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-loprio.txt"], 48 max_target_o_low_priority: [ 49 "hiddenapi/hiddenapi-max-target-o-low-priority.txt", 50 "hiddenapi/hiddenapi-max-target-o-low-priority-tiramisu.txt", 51 ], 52 annotation_flags: "hiddenapi/annotation-flags.csv", 53 metadata: "hiddenapi/metadata.csv", 54 index: "hiddenapi/index.csv", 55 signature_patterns: "hiddenapi/signature-patterns.csv", 56 filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv", 57 filtered_flags: "hiddenapi/filtered-flags.csv", 58 }, 59} 60 61prebuilt_platform_compat_config { 62 name: "connectivity-platform-compat-config", 63 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "tethering_module" is true. 64 use_source_config_var: { 65 config_namespace: "tethering_module", 66 var_name: "source_build", 67 }, 68 visibility: ["//visibility:public"], 69 licenses: ["tethering-module-sdk_Android-Apache-2.0"], 70 metadata: "compat_configs/connectivity-platform-compat-config/connectivity-platform-compat-config_meta.xml", 71} 72 73java_sdk_library_import { 74 name: "framework-connectivity", 75 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "tethering_module" is true. 76 use_source_config_var: { 77 config_namespace: "tethering_module", 78 var_name: "source_build", 79 }, 80 visibility: ["//visibility:public"], 81 apex_available: ["com.android.tethering"], 82 licenses: ["tethering-module-sdk_Android-Apache-2.0"], 83 shared_library: false, 84 permitted_packages: ["android.net"], 85 public: { 86 jars: ["sdk_library/public/framework-connectivity-stubs.jar"], 87 stub_srcs: ["sdk_library/public/framework-connectivity.srcjar"], 88 current_api: "sdk_library/public/framework-connectivity.txt", 89 removed_api: "sdk_library/public/framework-connectivity-removed.txt", 90 annotations: "sdk_library/public/framework-connectivity_annotations.zip", 91 sdk_version: "module_current", 92 }, 93 system: { 94 jars: ["sdk_library/system/framework-connectivity-stubs.jar"], 95 stub_srcs: ["sdk_library/system/framework-connectivity.srcjar"], 96 current_api: "sdk_library/system/framework-connectivity.txt", 97 removed_api: "sdk_library/system/framework-connectivity-removed.txt", 98 annotations: "sdk_library/system/framework-connectivity_annotations.zip", 99 sdk_version: "module_current", 100 }, 101 module_lib: { 102 jars: ["sdk_library/module-lib/framework-connectivity-stubs.jar"], 103 stub_srcs: ["sdk_library/module-lib/framework-connectivity.srcjar"], 104 current_api: "sdk_library/module-lib/framework-connectivity.txt", 105 removed_api: "sdk_library/module-lib/framework-connectivity-removed.txt", 106 annotations: "sdk_library/module-lib/framework-connectivity_annotations.zip", 107 sdk_version: "module_current", 108 }, 109} 110 111java_sdk_library_import { 112 name: "framework-connectivity-t", 113 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "tethering_module" is true. 114 use_source_config_var: { 115 config_namespace: "tethering_module", 116 var_name: "source_build", 117 }, 118 visibility: ["//visibility:public"], 119 apex_available: ["com.android.tethering"], 120 licenses: ["tethering-module-sdk_Android-Apache-2.0"], 121 shared_library: false, 122 permitted_packages: [ 123 "android.app.usage", 124 "android.net", 125 "android.net.nsd", 126 "android.nearby", 127 "com.android.connectivity", 128 "com.android.nearby", 129 ], 130 public: { 131 jars: ["sdk_library/public/framework-connectivity-t-stubs.jar"], 132 stub_srcs: ["sdk_library/public/framework-connectivity-t.srcjar"], 133 current_api: "sdk_library/public/framework-connectivity-t.txt", 134 removed_api: "sdk_library/public/framework-connectivity-t-removed.txt", 135 annotations: "sdk_library/public/framework-connectivity-t_annotations.zip", 136 sdk_version: "module_current", 137 }, 138 system: { 139 jars: ["sdk_library/system/framework-connectivity-t-stubs.jar"], 140 stub_srcs: ["sdk_library/system/framework-connectivity-t.srcjar"], 141 current_api: "sdk_library/system/framework-connectivity-t.txt", 142 removed_api: "sdk_library/system/framework-connectivity-t-removed.txt", 143 annotations: "sdk_library/system/framework-connectivity-t_annotations.zip", 144 sdk_version: "module_current", 145 }, 146 module_lib: { 147 jars: ["sdk_library/module-lib/framework-connectivity-t-stubs.jar"], 148 stub_srcs: ["sdk_library/module-lib/framework-connectivity-t.srcjar"], 149 current_api: "sdk_library/module-lib/framework-connectivity-t.txt", 150 removed_api: "sdk_library/module-lib/framework-connectivity-t-removed.txt", 151 annotations: "sdk_library/module-lib/framework-connectivity-t_annotations.zip", 152 sdk_version: "module_current", 153 }, 154} 155 156java_sdk_library_import { 157 name: "framework-tethering", 158 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "tethering_module" is true. 159 use_source_config_var: { 160 config_namespace: "tethering_module", 161 var_name: "source_build", 162 }, 163 visibility: ["//visibility:public"], 164 apex_available: ["com.android.tethering"], 165 licenses: ["tethering-module-sdk_Android-Apache-2.0"], 166 shared_library: false, 167 permitted_packages: ["android.net"], 168 public: { 169 jars: ["sdk_library/public/framework-tethering-stubs.jar"], 170 stub_srcs: ["sdk_library/public/framework-tethering.srcjar"], 171 current_api: "sdk_library/public/framework-tethering.txt", 172 removed_api: "sdk_library/public/framework-tethering-removed.txt", 173 annotations: "sdk_library/public/framework-tethering_annotations.zip", 174 sdk_version: "module_current", 175 }, 176 system: { 177 jars: ["sdk_library/system/framework-tethering-stubs.jar"], 178 stub_srcs: ["sdk_library/system/framework-tethering.srcjar"], 179 current_api: "sdk_library/system/framework-tethering.txt", 180 removed_api: "sdk_library/system/framework-tethering-removed.txt", 181 annotations: "sdk_library/system/framework-tethering_annotations.zip", 182 sdk_version: "module_current", 183 }, 184 module_lib: { 185 jars: ["sdk_library/module-lib/framework-tethering-stubs.jar"], 186 stub_srcs: ["sdk_library/module-lib/framework-tethering.srcjar"], 187 current_api: "sdk_library/module-lib/framework-tethering.txt", 188 removed_api: "sdk_library/module-lib/framework-tethering-removed.txt", 189 annotations: "sdk_library/module-lib/framework-tethering_annotations.zip", 190 sdk_version: "module_current", 191 }, 192} 193 194java_import { 195 name: "service-connectivity", 196 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "tethering_module" is true. 197 use_source_config_var: { 198 config_namespace: "tethering_module", 199 var_name: "source_build", 200 }, 201 visibility: ["//visibility:public"], 202 apex_available: ["com.android.tethering"], 203 licenses: ["tethering-module-sdk_Android-Apache-2.0"], 204 jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-connectivity.jar"], 205 min_sdk_version: "30", 206} 207 208license { 209 name: "tethering-module-sdk_Android-Apache-2.0", 210 visibility: ["//visibility:private"], 211 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 212 license_text: ["licenses/build/soong/licenses/LICENSE"], 213} 214 215cc_prebuilt_library_shared { 216 name: "libcom.android.tethering.dns_helper", 217 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "tethering_module" is true. 218 use_source_config_var: { 219 config_namespace: "tethering_module", 220 var_name: "source_build", 221 }, 222 visibility: ["//visibility:public"], 223 apex_available: ["com.android.tethering"], 224 licenses: ["tethering-module-sdk_Android-Apache-2.0"], 225 compile_multilib: "both", 226 export_include_dirs: ["include/packages/modules/Connectivity/DnsResolver/include"], 227 sanitize: { 228 cfi: true, 229 }, 230 stubs: { 231 versions: [ 232 "1", 233 "current", 234 ], 235 }, 236 arch: { 237 arm64: { 238 srcs: ["arm64/lib/libcom.android.tethering.dns_helper.so"], 239 }, 240 x86_64: { 241 srcs: ["x86_64/lib/libcom.android.tethering.dns_helper.so"], 242 }, 243 arm: { 244 srcs: ["arm/lib/libcom.android.tethering.dns_helper.so"], 245 }, 246 x86: { 247 srcs: ["x86/lib/libcom.android.tethering.dns_helper.so"], 248 }, 249 }, 250} 251 252cc_prebuilt_library_shared { 253 name: "libnetd_updatable", 254 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "tethering_module" is true. 255 use_source_config_var: { 256 config_namespace: "tethering_module", 257 var_name: "source_build", 258 }, 259 visibility: ["//visibility:public"], 260 apex_available: ["com.android.tethering"], 261 licenses: ["tethering-module-sdk_Android-Apache-2.0"], 262 compile_multilib: "both", 263 export_include_dirs: ["include/packages/modules/Connectivity/netd/include"], 264 sanitize: { 265 cfi: true, 266 }, 267 stubs: { 268 versions: [ 269 "1", 270 "current", 271 ], 272 }, 273 arch: { 274 arm64: { 275 srcs: ["arm64/lib/libnetd_updatable.so"], 276 }, 277 x86_64: { 278 srcs: ["x86_64/lib/libnetd_updatable.so"], 279 }, 280 arm: { 281 srcs: ["arm/lib/libnetd_updatable.so"], 282 }, 283 x86: { 284 srcs: ["x86/lib/libnetd_updatable.so"], 285 }, 286 }, 287} 288 289prebuilt_systemserverclasspath_fragment { 290 name: "com.android.tethering-systemserverclasspath-fragment", 291 // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "tethering_module" is true. 292 use_source_config_var: { 293 config_namespace: "tethering_module", 294 var_name: "source_build", 295 }, 296 visibility: ["//visibility:public"], 297 apex_available: ["com.android.tethering"], 298 licenses: ["tethering-module-sdk_Android-Apache-2.0"], 299 standalone_contents: ["service-connectivity"], 300} 301