Merge "Make cc.NewLLndkStubLibrary as public"

This commit is contained in:
Treehugger Robot 2017-11-15 00:56:46 +00:00 committed by Gerrit Code Review
commit 31c3239038

View file

@ -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
}