Don't specify LOCAL_STRIP_MODULE for static libraries
After I92a838b07fe4116d5a4b8521fe1ce8d44e6e84e2 in build/, LOCAL_STRIP_MODULE := keep_symbols will be honored for prebuilts, which will trigger an error if it is set on a static library. Only set LOCAL_STRIP_MODULE for binaries and shared libraries. Change-Id: I4e17a78afa7c5810dbf9003166c14a1ff3a59c9e
This commit is contained in:
parent
58e2dcdeda
commit
7b5c22b1f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue