Don't emit symbol for stubs libraries am: 47e4fcb6d3
am: 8893e6af05
Change-Id: Id2936354ab538814e6e0d6e23b24f01134eb523d
This commit is contained in:
commit
5db763406b
|
@ -152,7 +152,9 @@ func (library *libraryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.An
|
|||
ret.Class = "SHARED_LIBRARIES"
|
||||
ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
|
||||
fmt.Fprintln(w, "LOCAL_SOONG_TOC :=", library.toc().String())
|
||||
fmt.Fprintln(w, "LOCAL_SOONG_UNSTRIPPED_BINARY :=", library.unstrippedOutputFile.String())
|
||||
if !library.buildStubs() {
|
||||
fmt.Fprintln(w, "LOCAL_SOONG_UNSTRIPPED_BINARY :=", library.unstrippedOutputFile.String())
|
||||
}
|
||||
if len(library.Properties.Overrides) > 0 {
|
||||
fmt.Fprintln(w, "LOCAL_OVERRIDES_MODULES := "+strings.Join(library.Properties.Overrides, " "))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue