Make cc.NewLLndkStubLibrary as public
We need to extend llndk_library to automatically set symbol_file for the llndk version of libclang_rt.asan* libraries. Bug: 67011251 Test: build Change-Id: Ib6964817759f9228456e4fb2a27fce3bc09423a9
This commit is contained in:
parent
c7d1254119
commit
64ca4b722a
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ func (stub *llndkStubDecorator) link(ctx ModuleContext, flags Flags, deps PathDe
|
|||
return stub.libraryDecorator.link(ctx, flags, deps, objs)
|
||||
}
|
||||
|
||||
func newLLndkStubLibrary() *Module {
|
||||
func NewLLndkStubLibrary() *Module {
|
||||
module, library := NewLibrary(android.DeviceSupported)
|
||||
library.BuildOnlyShared()
|
||||
module.stl = nil
|
||||
|
@ -175,7 +175,7 @@ func newLLndkStubLibrary() *Module {
|
|||
}
|
||||
|
||||
func llndkLibraryFactory() android.Module {
|
||||
module := newLLndkStubLibrary()
|
||||
module := NewLLndkStubLibrary()
|
||||
android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibBoth)
|
||||
return module
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue