aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-11-14 20:53:00 +0900
committerJiyong Park <jiyong@google.com>2017-11-14 20:53:13 +0900
commit64ca4b722a2a016d25b05c975c15b42066390be3 (patch)
tree69ac56a3284de2c1ab0460e8a5a8dfb2b2113527 /cc
parentc7d1254119c2811b8618e56714736901a4c3aea3 (diff)
downloadbuild_soong-64ca4b722a2a016d25b05c975c15b42066390be3.tar.gz
build_soong-64ca4b722a2a016d25b05c975c15b42066390be3.tar.bz2
build_soong-64ca4b722a2a016d25b05c975c15b42066390be3.zip
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
Diffstat (limited to 'cc')
-rw-r--r--cc/llndk_library.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/llndk_library.go b/cc/llndk_library.go
index 40373cce..154b3f4f 100644
--- a/cc/llndk_library.go
+++ b/cc/llndk_library.go
@@ -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
}