Remove explicit suffixes from (ll)ndk_library

Soong can rename these automatically for internal use, so don't require
users to set these.

Bug: 33241851
Test: Android-aosp_arm.mk is the same before/after
Test: build.ninja is the same before/after
Test: build-aosp_arm.ninja is the same before/after
Merged-In: Ia92356a0ec079f908fd49812231228046783e50d
Change-Id: Ia92356a0ec079f908fd49812231228046783e50d
This commit is contained in:
Dan Willemsen
2017-04-07 15:21:13 -07:00
committed by Steven Moreland
parent 2ce95652a8
commit 01a90597bc
4 changed files with 21 additions and 25 deletions

View File

@@ -430,7 +430,9 @@ func (c *Module) Prebuilt() *android.Prebuilt {
func (c *Module) Name() string {
name := c.ModuleBase.Name()
if p, ok := c.linker.(prebuiltLinkerInterface); ok {
if p, ok := c.linker.(interface {
Name(string) string
}); ok {
name = p.Name(name)
}
return name