Add system_$(VER)

The system_$(VER) is added for vendor, similar to sdk.

Bug: 67724799
Test: build
Merged-In: I2545c92707591ca278066870c74e9f49e9825855
Change-Id: I2545c92707591ca278066870c74e9f49e9825855
(cherry picked from commit b8baff1fa3)
This commit is contained in:
Sundong Ahn
2017-10-17 16:34:51 +09:00
parent 85c87cef01
commit 0926fae350
4 changed files with 26 additions and 3 deletions

View File

@@ -157,3 +157,10 @@ func callerName(skip int) (pkgPath, funcName string, ok bool) {
ok = true
return
}
func GetNumericSdkVersion(v string) string {
if strings.Contains(v, "system_") {
return strings.Replace(v, "system_", "", 1)
}
return v
}