Remove versioned LLNDK stubs
Nothing links against the versioned LLNDK stubs, only current and the implementation are used. Remove the numbered LLNDK variants. Also remove llndkStubDepTag, it is never used to add a dependency. Test: TestLlndkLibrary Change-Id: Idde62007d77b8e6ceee31144c05756faf9b41f23
This commit is contained in:
5
cc/cc.go
5
cc/cc.go
@@ -726,7 +726,6 @@ var (
|
||||
runtimeDepTag = installDependencyTag{name: "runtime lib"}
|
||||
testPerSrcDepTag = dependencyTag{name: "test_per_src"}
|
||||
stubImplDepTag = dependencyTag{name: "stub_impl"}
|
||||
llndkStubDepTag = dependencyTag{name: "llndk stub"}
|
||||
)
|
||||
|
||||
type copyDirectlyInAnyApexDependencyTag dependencyTag
|
||||
@@ -3224,8 +3223,8 @@ func (c *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Modu
|
||||
return false
|
||||
}
|
||||
}
|
||||
if depTag == stubImplDepTag || depTag == llndkStubDepTag {
|
||||
// We don't track beyond LLNDK or from an implementation library to its stubs.
|
||||
if depTag == stubImplDepTag {
|
||||
// We don't track from an implementation library to its stubs.
|
||||
return false
|
||||
}
|
||||
if depTag == staticVariantTag {
|
||||
|
Reference in New Issue
Block a user