Merge "Make cc.NewLLndkStubLibrary as public" am: 31c3239038

am: bd913486bf

Change-Id: Ic3ccbfe2c5144d80d396b16ca0d9e1474931a7fc
This commit is contained in:
Jiyong Park
2017-11-15 01:39:19 +00:00
committed by android-build-merger

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
}