summaryrefslogtreecommitdiff
path: root/current/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'current/Android.bp')
-rw-r--r--current/Android.bp261
1 files changed, 39 insertions, 222 deletions
diff --git a/current/Android.bp b/current/Android.bp
index 89841be..cdac980 100644
--- a/current/Android.bp
+++ b/current/Android.bp
@@ -1,16 +1,5 @@
// This is auto-generated. DO NOT EDIT.
-// Soong config variable stanza added by vendor/google/build/mainline_modules_sdks.py.
-soong_config_module_type_import {
- from: "packages/modules/common/Android.bp",
- module_types: [
- "module_java_import",
- "module_java_sdk_library_import",
- "module_prebuilt_bootclasspath_fragment",
- "module_prebuilt_systemserverclasspath_fragment",
- ],
-}
-
package {
// A default list here prevents the license LSC from adding its own list which would
// be unnecessary as every module in the sdk already has its own licenses property.
@@ -18,49 +7,11 @@ package {
}
prebuilt_bootclasspath_fragment {
- name: "tethering-module-sdk_com.android.tethering-bootclasspath-fragment@current",
- sdk_member_name: "com.android.tethering-bootclasspath-fragment",
- visibility: ["//visibility:public"],
- apex_available: ["com.android.tethering"],
- licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
- contents: [
- "tethering-module-sdk_framework-connectivity@current",
- "tethering-module-sdk_framework-connectivity-t@current",
- "tethering-module-sdk_framework-tethering@current",
- ],
- fragments: [
- {
- apex: "com.android.art",
- module: "art-bootclasspath-fragment",
- },
- ],
- hidden_api: {
- unsupported: [
- "hiddenapi/hiddenapi-unsupported.txt",
- "hiddenapi/hiddenapi-unsupported-tiramisu.txt",
- ],
- max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-loprio.txt"],
- max_target_o_low_priority: [
- "hiddenapi/hiddenapi-max-target-o-low-priority.txt",
- "hiddenapi/hiddenapi-max-target-o-low-priority-tiramisu.txt",
- ],
- annotation_flags: "hiddenapi/annotation-flags.csv",
- metadata: "hiddenapi/metadata.csv",
- index: "hiddenapi/index.csv",
- signature_patterns: "hiddenapi/signature-patterns.csv",
- filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
- filtered_flags: "hiddenapi/filtered-flags.csv",
- },
-}
-
-module_prebuilt_bootclasspath_fragment {
name: "com.android.tethering-bootclasspath-fragment",
// Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
- prefer: true,
- soong_config_variables: {
- module_build_from_source: {
- prefer: false,
- },
+ use_source_config_var: {
+ config_namespace: "ANDROID",
+ var_name: "module_build_from_source",
},
visibility: ["//visibility:public"],
apex_available: ["com.android.tethering"],
@@ -95,48 +46,36 @@ module_prebuilt_bootclasspath_fragment {
},
}
-java_sdk_library_import {
- name: "tethering-module-sdk_framework-connectivity@current",
- sdk_member_name: "framework-connectivity",
- visibility: ["//visibility:public"],
- apex_available: ["com.android.tethering"],
- licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
- shared_library: false,
- permitted_packages: ["android.net"],
- public: {
- jars: ["sdk_library/public/framework-connectivity-stubs.jar"],
- stub_srcs: ["sdk_library/public/framework-connectivity.srcjar"],
- current_api: "sdk_library/public/framework-connectivity.txt",
- removed_api: "sdk_library/public/framework-connectivity-removed.txt",
- annotations: "sdk_library/public/framework-connectivity_annotations.zip",
- sdk_version: "module_current",
- },
- system: {
- jars: ["sdk_library/system/framework-connectivity-stubs.jar"],
- stub_srcs: ["sdk_library/system/framework-connectivity.srcjar"],
- current_api: "sdk_library/system/framework-connectivity.txt",
- removed_api: "sdk_library/system/framework-connectivity-removed.txt",
- annotations: "sdk_library/system/framework-connectivity_annotations.zip",
- sdk_version: "module_current",
+prebuilt_platform_compat_config {
+ name: "connectivity-platform-compat-config",
+ // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
+ use_source_config_var: {
+ config_namespace: "ANDROID",
+ var_name: "module_build_from_source",
},
- module_lib: {
- jars: ["sdk_library/module-lib/framework-connectivity-stubs.jar"],
- stub_srcs: ["sdk_library/module-lib/framework-connectivity.srcjar"],
- current_api: "sdk_library/module-lib/framework-connectivity.txt",
- removed_api: "sdk_library/module-lib/framework-connectivity-removed.txt",
- annotations: "sdk_library/module-lib/framework-connectivity_annotations.zip",
- sdk_version: "module_current",
+ visibility: ["//visibility:public"],
+ licenses: ["tethering-module-sdk_Android-Apache-2.0"],
+ metadata: "compat_configs/connectivity-platform-compat-config/connectivity-platform-compat-config_meta.xml",
+}
+
+prebuilt_platform_compat_config {
+ name: "connectivity-t-platform-compat-config",
+ // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
+ use_source_config_var: {
+ config_namespace: "ANDROID",
+ var_name: "module_build_from_source",
},
+ visibility: ["//visibility:public"],
+ licenses: ["tethering-module-sdk_Android-Apache-2.0"],
+ metadata: "compat_configs/connectivity-t-platform-compat-config/connectivity-t-platform-compat-config_meta.xml",
}
-module_java_sdk_library_import {
+java_sdk_library_import {
name: "framework-connectivity",
// Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
- prefer: true,
- soong_config_variables: {
- module_build_from_source: {
- prefer: false,
- },
+ use_source_config_var: {
+ config_namespace: "ANDROID",
+ var_name: "module_build_from_source",
},
visibility: ["//visibility:public"],
apex_available: ["com.android.tethering"],
@@ -170,54 +109,11 @@ module_java_sdk_library_import {
}
java_sdk_library_import {
- name: "tethering-module-sdk_framework-connectivity-t@current",
- sdk_member_name: "framework-connectivity-t",
- visibility: ["//visibility:public"],
- apex_available: ["com.android.tethering"],
- licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
- shared_library: false,
- permitted_packages: [
- "android.app.usage",
- "android.net",
- "android.net.nsd",
- "android.nearby",
- "com.android.connectivity",
- "com.android.nearby",
- ],
- public: {
- jars: ["sdk_library/public/framework-connectivity-t-stubs.jar"],
- stub_srcs: ["sdk_library/public/framework-connectivity-t.srcjar"],
- current_api: "sdk_library/public/framework-connectivity-t.txt",
- removed_api: "sdk_library/public/framework-connectivity-t-removed.txt",
- annotations: "sdk_library/public/framework-connectivity-t_annotations.zip",
- sdk_version: "module_current",
- },
- system: {
- jars: ["sdk_library/system/framework-connectivity-t-stubs.jar"],
- stub_srcs: ["sdk_library/system/framework-connectivity-t.srcjar"],
- current_api: "sdk_library/system/framework-connectivity-t.txt",
- removed_api: "sdk_library/system/framework-connectivity-t-removed.txt",
- annotations: "sdk_library/system/framework-connectivity-t_annotations.zip",
- sdk_version: "module_current",
- },
- module_lib: {
- jars: ["sdk_library/module-lib/framework-connectivity-t-stubs.jar"],
- stub_srcs: ["sdk_library/module-lib/framework-connectivity-t.srcjar"],
- current_api: "sdk_library/module-lib/framework-connectivity-t.txt",
- removed_api: "sdk_library/module-lib/framework-connectivity-t-removed.txt",
- annotations: "sdk_library/module-lib/framework-connectivity-t_annotations.zip",
- sdk_version: "module_current",
- },
-}
-
-module_java_sdk_library_import {
name: "framework-connectivity-t",
// Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
- prefer: true,
- soong_config_variables: {
- module_build_from_source: {
- prefer: false,
- },
+ use_source_config_var: {
+ config_namespace: "ANDROID",
+ var_name: "module_build_from_source",
},
visibility: ["//visibility:public"],
apex_available: ["com.android.tethering"],
@@ -258,47 +154,11 @@ module_java_sdk_library_import {
}
java_sdk_library_import {
- name: "tethering-module-sdk_framework-tethering@current",
- sdk_member_name: "framework-tethering",
- visibility: ["//visibility:public"],
- apex_available: ["com.android.tethering"],
- licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
- shared_library: false,
- permitted_packages: ["android.net"],
- public: {
- jars: ["sdk_library/public/framework-tethering-stubs.jar"],
- stub_srcs: ["sdk_library/public/framework-tethering.srcjar"],
- current_api: "sdk_library/public/framework-tethering.txt",
- removed_api: "sdk_library/public/framework-tethering-removed.txt",
- annotations: "sdk_library/public/framework-tethering_annotations.zip",
- sdk_version: "module_current",
- },
- system: {
- jars: ["sdk_library/system/framework-tethering-stubs.jar"],
- stub_srcs: ["sdk_library/system/framework-tethering.srcjar"],
- current_api: "sdk_library/system/framework-tethering.txt",
- removed_api: "sdk_library/system/framework-tethering-removed.txt",
- annotations: "sdk_library/system/framework-tethering_annotations.zip",
- sdk_version: "module_current",
- },
- module_lib: {
- jars: ["sdk_library/module-lib/framework-tethering-stubs.jar"],
- stub_srcs: ["sdk_library/module-lib/framework-tethering.srcjar"],
- current_api: "sdk_library/module-lib/framework-tethering.txt",
- removed_api: "sdk_library/module-lib/framework-tethering-removed.txt",
- annotations: "sdk_library/module-lib/framework-tethering_annotations.zip",
- sdk_version: "module_current",
- },
-}
-
-module_java_sdk_library_import {
name: "framework-tethering",
// Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
- prefer: true,
- soong_config_variables: {
- module_build_from_source: {
- prefer: false,
- },
+ use_source_config_var: {
+ config_namespace: "ANDROID",
+ var_name: "module_build_from_source",
},
visibility: ["//visibility:public"],
apex_available: ["com.android.tethering"],
@@ -332,22 +192,11 @@ module_java_sdk_library_import {
}
java_import {
- name: "tethering-module-sdk_service-connectivity@current",
- sdk_member_name: "service-connectivity",
- visibility: ["//visibility:public"],
- apex_available: ["com.android.tethering"],
- licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
- jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-connectivity.jar"],
-}
-
-module_java_import {
name: "service-connectivity",
// Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
- prefer: true,
- soong_config_variables: {
- module_build_from_source: {
- prefer: false,
- },
+ use_source_config_var: {
+ config_namespace: "ANDROID",
+ var_name: "module_build_from_source",
},
visibility: ["//visibility:public"],
apex_available: ["com.android.tethering"],
@@ -356,14 +205,6 @@ module_java_import {
}
license {
- name: "tethering-module-sdk_Android-Apache-2.0@current",
- sdk_member_name: "Android-Apache-2.0",
- visibility: ["//visibility:private"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["licenses/build/soong/licenses/LICENSE"],
-}
-
-license {
name: "tethering-module-sdk_Android-Apache-2.0",
visibility: ["//visibility:private"],
license_kinds: ["SPDX-license-identifier-Apache-2.0"],
@@ -371,38 +212,14 @@ license {
}
prebuilt_systemserverclasspath_fragment {
- name: "tethering-module-sdk_com.android.tethering-systemserverclasspath-fragment@current",
- sdk_member_name: "com.android.tethering-systemserverclasspath-fragment",
- visibility: ["//visibility:public"],
- apex_available: ["com.android.tethering"],
- licenses: ["tethering-module-sdk_Android-Apache-2.0@current"],
- standalone_contents: ["tethering-module-sdk_service-connectivity@current"],
-}
-
-module_prebuilt_systemserverclasspath_fragment {
name: "com.android.tethering-systemserverclasspath-fragment",
// Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
- prefer: true,
- soong_config_variables: {
- module_build_from_source: {
- prefer: false,
- },
+ use_source_config_var: {
+ config_namespace: "ANDROID",
+ var_name: "module_build_from_source",
},
visibility: ["//visibility:public"],
apex_available: ["com.android.tethering"],
licenses: ["tethering-module-sdk_Android-Apache-2.0"],
standalone_contents: ["service-connectivity"],
}
-
-sdk_snapshot {
- name: "tethering-module-sdk@current",
- visibility: ["//visibility:public"],
- bootclasspath_fragments: ["tethering-module-sdk_com.android.tethering-bootclasspath-fragment@current"],
- java_sdk_libs: [
- "tethering-module-sdk_framework-connectivity@current",
- "tethering-module-sdk_framework-connectivity-t@current",
- "tethering-module-sdk_framework-tethering@current",
- ],
- java_systemserver_libs: ["tethering-module-sdk_service-connectivity@current"],
- systemserverclasspath_fragments: ["tethering-module-sdk_com.android.tethering-systemserverclasspath-fragment@current"],
-}