diff options
author | 2024-01-05 11:38:08 -0800 | |
---|---|---|
committer | 2024-01-05 13:16:47 -0800 | |
commit | 8d6db83e88d29f83847ca2d117dfe667115ec735 (patch) | |
tree | 6cf363d399e6957b0c14b47bf814c6b3978e0fc7 | |
parent | e6bcb3cc44ea2f32b2193da618852c54d777d3df (diff) |
Fix the arc build issue
ARC use Wifi lib as source code, add the aconfig jar to the updatable
source
Bug: 318778579
Test: build
Change-Id: I8715833539c5a01087f4af7d9a0be94df7b58ceb
-rw-r--r-- | flags/Android.bp | 13 | ||||
-rw-r--r-- | framework/Android.bp | 6 |
2 files changed, 5 insertions, 14 deletions
diff --git a/flags/Android.bp b/flags/Android.bp index 8d5a4ed533..5333801cdb 100644 --- a/flags/Android.bp +++ b/flags/Android.bp @@ -41,19 +41,6 @@ java_aconfig_library { } java_defaults { - name: "wifi-framework-aconfig-libraries", - // Add java_aconfig_libraries to here to add them to the AAOS - srcs: [ - ":wifi_aconfig_flags_lib{.generated_srcjars}", - ], - libs: [ - // Add aconfig-annotations-lib as a dependency for the optimization - "aconfig-annotations-lib", - "framework-configinfrastructure", - ], -} - -java_defaults { name: "wifi-framework-aconfig-java-defaults", sdk_version: "core_platform", libs: ["fake_device_config"], diff --git a/framework/Android.bp b/framework/Android.bp index 441ad1fadf..c05ff69eb8 100644 --- a/framework/Android.bp +++ b/framework/Android.bp @@ -44,6 +44,7 @@ filegroup { ":framework-wifi-updatable-java-sources", ":framework-wifi-updatable-exported-aidl-sources", ":module-utils-os-aidls", + ":wifi_aconfig_flags_lib{.generated_srcjars}", ], } @@ -103,7 +104,7 @@ java_library { // `framework-wifi-pre-jarjar` java_defaults { name: "framework-wifi-defaults", - defaults: ["wifi-module-sdk-version-defaults", "wifi-framework-aconfig-libraries"], + defaults: ["wifi-module-sdk-version-defaults"], static_libs: [ "framework-wifi-util-lib", "android.hardware.wifi-V1.0-java-constants", @@ -114,6 +115,9 @@ java_defaults { "androidx.annotation_annotation", "unsupportedappusage", // for android.compat.annotation.UnsupportedAppUsage "app-compat-annotations", + // Add aconfig-annotations-lib as a dependency for the optimization + "aconfig-annotations-lib", + "framework-configinfrastructure", ], aidl: { generate_get_transaction_name: true, |