Loading java/java.go +9 −7 Original line number Diff line number Diff line Loading @@ -571,6 +571,7 @@ func checkLinkType(ctx android.ModuleContext, from *Module, to *Library, tag dep func (j *Module) collectDeps(ctx android.ModuleContext) deps { var deps deps if ctx.Device() { sdkDep := decodeSdkDep(ctx, String(j.deviceProperties.Sdk_version)) if sdkDep.invalidVersion { ctx.AddMissingDependencies([]string{sdkDep.module}) Loading @@ -579,6 +580,7 @@ func (j *Module) collectDeps(ctx android.ModuleContext) deps { deps.classpath = append(deps.classpath, sdkDep.jar) deps.aidlIncludeDirs = append(deps.aidlIncludeDirs, sdkDep.aidl) } } ctx.VisitDirectDeps(func(module android.Module) { otherName := ctx.OtherModuleName(module) Loading Loading
java/java.go +9 −7 Original line number Diff line number Diff line Loading @@ -571,6 +571,7 @@ func checkLinkType(ctx android.ModuleContext, from *Module, to *Library, tag dep func (j *Module) collectDeps(ctx android.ModuleContext) deps { var deps deps if ctx.Device() { sdkDep := decodeSdkDep(ctx, String(j.deviceProperties.Sdk_version)) if sdkDep.invalidVersion { ctx.AddMissingDependencies([]string{sdkDep.module}) Loading @@ -579,6 +580,7 @@ func (j *Module) collectDeps(ctx android.ModuleContext) deps { deps.classpath = append(deps.classpath, sdkDep.jar) deps.aidlIncludeDirs = append(deps.aidlIncludeDirs, sdkDep.aidl) } } ctx.VisitDirectDeps(func(module android.Module) { otherName := ctx.OtherModuleName(module) Loading