DO NOT MERGE: Enable Prebuilt SDK
Test: presubmit
Bug: 215375351
Merged-In: I9d1c32c8852d353130df7b95f3b5b8c8bbe75bc2
Change-Id: I8026742197f4edafa9f75cfa34fa2708350e5118
(cherry picked from commit 7b13457edaf14587e334f0c503dacd1e034d835d)
Merged-In:I8026742197f4edafa9f75cfa34fa2708350e5118
diff --git a/current/Android.bp b/current/Android.bp
index efc6ae3..4122341 100644
--- a/current/Android.bp
+++ b/current/Android.bp
@@ -1,11 +1,6 @@
// This is auto-generated. DO NOT EDIT.
-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.
- default_applicable_licenses: ["Android-Apache-2.0"],
-}
-
+// 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: [
@@ -14,6 +9,12 @@
],
}
+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.
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
prebuilt_bootclasspath_fragment {
name: "wifi-module-sdk_com.android.wifi-bootclasspath-fragment@current",
sdk_member_name: "com.android.wifi-bootclasspath-fragment",
@@ -35,6 +36,7 @@
module_prebuilt_bootclasspath_fragment {
name: "com.android.wifi-bootclasspath-fragment",
+ // Do not prefer prebuilt if SOONG_CONFIG_ANDROID_module_build_from_source is true.
prefer: true,
soong_config_variables: {
module_build_from_source: {
@@ -97,6 +99,7 @@
module_java_sdk_library_import {
name: "framework-wifi",
+ // Do not prefer prebuilt if SOONG_CONFIG_ANDROID_module_build_from_source is true.
prefer: true,
soong_config_variables: {
module_build_from_source: {