Fix ndk_library following decorator refactor.

https://android-review.googlesource.com/#/c/253603/ accidentally
dropped the ndk_library properties and was using the base cc
properties instead.

Change-Id: Ia2dcd767f98871dbdbbd9d0ff6d2a73b9b4889ac
This commit is contained in:
Dan Albert
2016-08-08 10:45:03 -07:00
parent 7fa7b2efd3
commit 705c84b9ee
2 changed files with 6 additions and 4 deletions

View File

@@ -201,6 +201,7 @@ func (installer *baseInstaller) AndroidMk(ctx AndroidMkContext, ret *android.And
func (c *stubDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
ret.SubName = "." + strconv.Itoa(c.properties.ApiLevel)
ret.Class = "SHARED_LIBRARIES"
ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
path, file := filepath.Split(c.installPath)