Lines Matching refs:sdkVersion
64 sdkVersion := sdkContext.SdkVersion(ctx)
65 if !sdkVersion.Valid() {
66 ctx.PropertyErrorf("sdk_version", "invalid version %q", sdkVersion.Raw)
71 sdkVersion = sdkVersion.ForVendorPartition(ctx)
74 if !sdkVersion.ValidateSystemSdk(ctx) {
78 if sdkVersion.UsePrebuilt(ctx) {
79 dir := filepath.Join("prebuilts", "sdk", sdkVersion.ApiLevel.String(), sdkVersion.Kind.String())
83 publicDir := filepath.Join("prebuilts", "sdk", sdkVersion.ApiLevel.String(), "public")
92 …bootclasspath: []string{fmt.Sprintf("sdk_%s_%s_android", sdkVersion.Kind, sdkVersion.ApiLevel.Str…
97 …ctx.PropertyErrorf("sdk_version", "invalid sdk version %q, %q does not exist", sdkVersion.Raw, jar)
102 …ctx.PropertyErrorf("sdk_version", "invalid sdk version %q, %q does not exist", sdkVersion.Raw, aid…
107 if defaultJavaLanguageVersion(ctx, sdkVersion).usesJavaModules() {
108 systemModules = "sdk_public_" + sdkVersion.ApiLevel.String() + "_system_modules"
130 switch sdkVersion.Kind {
197 panic(fmt.Errorf("invalid sdk %q", sdkVersion.Raw))