diff options
author | 2024-09-24 00:34:49 +0000 | |
---|---|---|
committer | 2024-09-27 22:32:18 +0000 | |
commit | a6d0aa86f985f6083d0519911b64fae77c710f86 (patch) | |
tree | 28e017cfe69b74a2b4a2d39690aef24c296fbad4 /apex/apex_test.go | |
parent | 05ff7f07209883f3bf34e9a3552db97f4847d792 (diff) |
Do not set JavaInfoProvider in java_sdk_library
Given that modules are not allowed to depend on java_sdk_library as
a compilation dependency anymore, do not set JavaInfoProvider in
java_sdk_library to prevent misusage of java_sdk_library via
`OtherModuleProvier(..., JavaInfoProvier)` in `VisitDirectDeps()`
Test: CI
Bug: 308827369
Change-Id: Id73287774ec1d1a19cfab45e1eaee27784d141f0
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r-- | apex/apex_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go index 8cb8a9132..ed492661f 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -5429,11 +5429,11 @@ func TestBootDexJarsFromSourcesAndPrebuilts(t *testing.T) { apex_available: ["myapex"], shared_library: false, permitted_packages: ["bar"], + prefer: true, } java_sdk_library { name: "libbar", - enabled: false, srcs: ["foo/bar/MyClass.java"], unsafe_ignore_missing_latest_api: true, apex_available: ["myapex"], |