Lines Matching refs:dep
1110 func rustMakeLibName(ctx android.ModuleContext, c cc.LinkableInterface, dep cc.LinkableInterface, d…
1111 if rustDep, ok := dep.(*Module); ok {
1118 return cc.MakeLibName(ctx, c, dep, depName)
1121 func collectIncludedProtos(mod *Module, dep *Module) {
1123 if _, ok := dep.sourceProvider.(*protobufDecorator); ok {
1124 protoMod.additionalCrates = append(protoMod.additionalCrates, dep.CrateName())
1159 ctx.VisitDirectDeps(func(dep android.Module) {
1160 if dep.Name() == "api_imports" {
1161 apiImportInfo, _ = android.OtherModuleProvider(ctx, dep, multitree.ApiImportsProvider)
1171 ctx.VisitDirectDeps(func(dep android.Module) {
1172 depName := ctx.OtherModuleName(dep)
1177 ctx.VisitDirectDeps(func(dep android.Module) {
1178 depName := ctx.OtherModuleName(dep)
1185 ctx.VisitDirectDeps(func(dep android.Module) {
1186 depName := ctx.OtherModuleName(dep)
1188 if cc.ShouldUseStubForApex(ctx, dep) {
1200 ctx.VisitDirectDeps(func(dep android.Module) {
1201 depName := ctx.OtherModuleName(dep)
1202 depTag := ctx.OtherModuleDependencyTag(dep)
1212 if rustDep, ok := dep.(*Module); ok && !rustDep.Static() && !rustDep.Shared() {
1239 exportedInfo, _ := android.OtherModuleProvider(ctx, dep, cc.FlagExporterInfoProvider)
1267 if dep.Target().Os != ctx.Os() {
1268 ctx.ModuleErrorf("OS mismatch on dependency %q (%s)", dep.Name(), helper)
1270 } else if dep.Target().Arch.ArchType != ctx.Arch().ArchType {
1271 ctx.ModuleErrorf("Arch mismatch on dependency %q (%s)", dep.Name(), helper)
1277 exportedInfo, _ := android.OtherModuleProvider(ctx, dep, FlagExporterInfoProvider)
1296 exportedInfo, _ := android.OtherModuleProvider(ctx, dep, cc.FlagExporterInfoProvider)
1301 } else if ccDep, ok := dep.(cc.LinkableInterface); ok {
1349 exportedInfo, _ := android.OtherModuleProvider(ctx, dep, cc.FlagExporterInfoProvider)
1364 sharedLibraryInfo, exportedInfo := cc.ChooseStubOrImpl(ctx, dep)
1393 exportedInfo, _ := android.OtherModuleProvider(ctx, dep, cc.FlagExporterInfoProvider)
1412 depPaths.CrtBegin = append(depPaths.CrtBegin, android.OutputFileForModule(ctx, dep, ""))
1414 depPaths.CrtEnd = append(depPaths.CrtEnd, android.OutputFileForModule(ctx, dep, ""))
1418 if srcDep, ok := dep.(android.SourceFileProducer); ok {
1430 for _, dep := range directRlibDeps {
1431 crateName := dep.CrateName()
1435 …rlibDepFiles = append(rlibDepFiles, RustLibrary{Path: dep.UnstrippedOutputFile(), CrateName: crate…
1438 for _, dep := range directDylibDeps {
1439 crateName := dep.CrateName()
1443 …dylibDepFiles = append(dylibDepFiles, RustLibrary{Path: dep.UnstrippedOutputFile(), CrateName: cra…
1446 for _, dep := range directProcMacroDeps {
1447 crateName := dep.CrateName()
1451 …procMacroDepFiles = append(procMacroDepFiles, RustLibrary{Path: dep.UnstrippedOutputFile(), CrateN…
1455 for _, dep := range directStaticLibDeps {
1456 staticLibDepFiles = append(staticLibDepFiles, dep.OutputFile().Path())
1461 for _, dep := range directSharedLibDeps {
1462 sharedLibFiles = append(sharedLibFiles, dep.SharedLibrary)
1463 if dep.TableOfContents.Valid() {
1464 sharedLibDepFiles = append(sharedLibDepFiles, dep.TableOfContents.Path())
1466 sharedLibDepFiles = append(sharedLibDepFiles, dep.SharedLibrary)
1471 for _, dep := range directSrcProvidersDeps {
1472 srcs, _ := dep.OutputFiles("")
1475 for _, dep := range directSrcDeps {
1476 srcs := dep.Srcs()
1776 func (mod *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Module) bool {
1777 depTag := ctx.OtherModuleDependencyTag(dep)
1779 if ccm, ok := dep.(*cc.Module); ok {