Create Stub targets for cc_library_(static|shared)
Fixes: 246958825 Test: Temporarily allowlist module and inspect BUILD.bazel Change-Id: I4baeec2d873fefabd49ce77508630b82f759820a
This commit is contained in:
@@ -487,6 +487,16 @@ cc_library_shared {
|
||||
ExpectedBazelTargets: []string{MakeBazelTarget("cc_library_shared", "a", AttrNameToString{
|
||||
"has_stubs": `True`,
|
||||
}),
|
||||
makeCcStubSuiteTargets("a", AttrNameToString{
|
||||
"soname": `"a.so"`,
|
||||
"source_library": `":a"`,
|
||||
"stubs_symbol_file": `"a.map.txt"`,
|
||||
"stubs_versions": `[
|
||||
"28",
|
||||
"29",
|
||||
"current",
|
||||
]`,
|
||||
}),
|
||||
},
|
||||
},
|
||||
)
|
||||
|
Reference in New Issue
Block a user