Generate "current" API level.
Support for using this coming in an upcoming patch.
Test: nose2
readelf to check the following:
* bsd_signal unversioned before current
* bsd_signal versioned in current
* catclose missing before current
* catclose present and versioned in current
Bug: None
Change-Id: I861862161426d3ec5b530e3156d3a8ae96fed468
diff --git a/cc/androidmk.go b/cc/androidmk.go
index a4d7fcf..50c183e 100644
--- a/cc/androidmk.go
+++ b/cc/androidmk.go
@@ -18,7 +18,6 @@
"fmt"
"io"
"path/filepath"
- "strconv"
"strings"
"android/soong/android"
@@ -217,7 +216,7 @@
}
func (c *stubDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
- ret.SubName = "." + strconv.Itoa(c.properties.ApiLevel)
+ ret.SubName = "." + c.properties.ApiLevel
ret.Class = "SHARED_LIBRARIES"
ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {