Lines Matching refs:versions
1351 versions := library.Properties.Stubs.Versions
1352 return versions[len(versions)-1] == library.stubsVersion()
1532 versions, ok := stubsVersionsFor(config)[name]
1533 if ok && len(versions) > 0 {
1535 return versions[len(versions)-1]
1540 func normalizeVersions(ctx android.BaseModuleContext, versions []string) {
1541 numVersions := make([]int, len(versions))
1542 for i, v := range versions {
1551 ctx.PropertyErrorf("versions", "not sorted: %v", versions)
1554 versions[i] = strconv.Itoa(v)
1558 func createVersionVariations(mctx android.BottomUpMutatorContext, versions []string) {
1560 versions = append([]string{""}, versions...)
1562 modules := mctx.CreateVariations(versions...)
1564 if versions[i] != "" {
1566 m.(LinkableInterface).SetStubsVersions(versions[i])
1585 versions := library.StubsVersions()
1586 normalizeVersions(mctx, versions)
1594 stubsVersionsFor(mctx.Config())[mctx.ModuleName()] = versions
1596 createVersionVariations(mctx, versions)
1606 versions := stubsVersionsFor(mctx.Config())[c.BaseModuleName()]
1608 stubsVersionsFor(mctx.Config())[mctx.ModuleName()] = versions
1610 createVersionVariations(mctx, versions)