Lines Matching refs:vndkVersion
49 func (a *apexBundle) vndkVersion(config android.DeviceConfig) string { func
50 vndkVersion := proptools.StringDefault(a.vndkProperties.Vndk_version, "current")
51 if vndkVersion == "current" {
52 vndkVersion = config.PlatformVndkVersion()
54 return vndkVersion
68 vndkVersion := ab.vndkVersion(mctx.DeviceConfig())
70 ab.properties.Apex_name = proptools.StringPtr(vndkApexNamePrefix + vndkVersion)
76 vndkVersion := m.VndkVersion()
78 if vndkVersion == "" {
79 vndkVersion = mctx.DeviceConfig().PlatformVndkVersion()
81 if vndkVersion == mctx.DeviceConfig().PlatformVndkVersion() {
82 vndkVersion = "current"
84 vndkVersion = "v" + vndkVersion
87 vndkApexName := "com.android.vndk." + vndkVersion
93 vndkVersion := proptools.StringDefault(a.vndkProperties.Vndk_version, "current")
94 mctx.AddDependency(mctx.Module(), prebuiltTag, cc.VndkLibrariesTxtModules(vndkVersion)...)
111 vndkVersion := strings.TrimPrefix(name, vndkApexNamePrefix)
112 if ver, err := android.ApiLevelFromUser(ctx, vndkVersion); err != nil {
119 apexName := vndkApexNamePrefix + vndkVersion
121 addSymlink("/apex/"+apexName+"/lib64", "$(TARGET_OUT)/lib64", "vndk-sp-"+vndkVersion)
122 addSymlink("/apex/"+apexName+"/lib64", "$(TARGET_OUT)/lib64", "vndk-"+vndkVersion)
125 addSymlink("/apex/"+apexName+"/lib", "$(TARGET_OUT)/lib", "vndk-sp-"+vndkVersion)
126 addSymlink("/apex/"+apexName+"/lib", "$(TARGET_OUT)/lib", "vndk-"+vndkVersion)