summaryrefslogtreecommitdiff
path: root/current/Android.bp.auto
diff options
context:
space:
mode:
Diffstat (limited to 'current/Android.bp.auto')
-rw-r--r--[-rwxr-xr-x]current/Android.bp.auto51
1 files changed, 45 insertions, 6 deletions
diff --git a/current/Android.bp.auto b/current/Android.bp.auto
index c8ecddf..92ccf84 100755..100644
--- a/current/Android.bp.auto
+++ b/current/Android.bp.auto
@@ -1,5 +1,14 @@
// 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_sdk_library_import",
+ "module_prebuilt_bootclasspath_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.
@@ -27,9 +36,15 @@ prebuilt_bootclasspath_fragment {
},
}
-prebuilt_bootclasspath_fragment {
+module_prebuilt_bootclasspath_fragment {
name: "com.android.tethering-bootclasspath-fragment",
- prefer: false,
+ // Do not prefer prebuilt if SOONG_CONFIG_ANDROID_module_build_from_source is true.
+ prefer: true,
+ soong_config_variables: {
+ module_build_from_source: {
+ prefer: false,
+ },
+ },
visibility: ["//visibility:public"],
apex_available: ["com.android.tethering"],
licenses: ["tethering-module-sdk_Android-Apache-2.0"],
@@ -61,6 +76,7 @@ java_sdk_library_import {
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: {
@@ -68,6 +84,7 @@ java_sdk_library_import {
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",
},
module_lib: {
@@ -75,13 +92,20 @@ java_sdk_library_import {
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",
},
}
-java_sdk_library_import {
+module_java_sdk_library_import {
name: "framework-connectivity",
- prefer: false,
+ // Do not prefer prebuilt if SOONG_CONFIG_ANDROID_module_build_from_source is true.
+ prefer: true,
+ soong_config_variables: {
+ module_build_from_source: {
+ prefer: false,
+ },
+ },
visibility: ["//visibility:public"],
apex_available: ["com.android.tethering"],
licenses: ["tethering-module-sdk_Android-Apache-2.0"],
@@ -92,6 +116,7 @@ java_sdk_library_import {
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: {
@@ -99,6 +124,7 @@ java_sdk_library_import {
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",
},
module_lib: {
@@ -106,6 +132,7 @@ java_sdk_library_import {
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",
},
}
@@ -123,6 +150,7 @@ java_sdk_library_import {
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: {
@@ -130,6 +158,7 @@ java_sdk_library_import {
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: {
@@ -137,13 +166,20 @@ java_sdk_library_import {
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",
},
}
-java_sdk_library_import {
+module_java_sdk_library_import {
name: "framework-tethering",
- prefer: false,
+ // Do not prefer prebuilt if SOONG_CONFIG_ANDROID_module_build_from_source is true.
+ prefer: true,
+ soong_config_variables: {
+ module_build_from_source: {
+ prefer: false,
+ },
+ },
visibility: ["//visibility:public"],
apex_available: ["com.android.tethering"],
licenses: ["tethering-module-sdk_Android-Apache-2.0"],
@@ -154,6 +190,7 @@ java_sdk_library_import {
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: {
@@ -161,6 +198,7 @@ java_sdk_library_import {
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: {
@@ -168,6 +206,7 @@ java_sdk_library_import {
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",
},
}