Merge "libbuildversion should be linked as a whole archive dep as soong does."

This commit is contained in:
Yu Liu
2023-05-02 17:34:02 +00:00
committed by Gerrit Code Review
4 changed files with 8 additions and 12 deletions

View File

@@ -516,8 +516,8 @@ func TestCcLibrarySharedUseVersionLib(t *testing.T) {
}`,
ExpectedBazelTargets: []string{
MakeBazelTarget("cc_library_shared", "foo", AttrNameToString{
"use_version_lib": "True",
"implementation_whole_archive_deps": `["//build/soong/cc/libbuildversion:libbuildversion"]`,
"use_version_lib": "True",
"whole_archive_deps": `["//build/soong/cc/libbuildversion:libbuildversion"]`,
}),
},
})