Merge "Don't specify LOCAL_STRIP_MODULE for static libraries"

This commit is contained in:
Treehugger Robot 2016-07-07 19:14:54 +00:00 committed by Gerrit Code Review
commit bec7c12043

View file

@ -79,7 +79,9 @@ func (library *baseLinker) AndroidMk(ret *android.AndroidMkData) {
func (library *libraryLinker) AndroidMk(ret *android.AndroidMkData) {
library.baseLinker.AndroidMk(ret)
library.stripper.AndroidMk(ret)
if !library.static() {
library.stripper.AndroidMk(ret)
}
ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
var exportedIncludes []string