/build/blueprint/pathtools/ |
D | lists.go | 25 func PrefixPaths(paths []string, prefix string) []string { 26 result := make([]string, len(paths)) 27 for i, path := range paths { 33 func ReplaceExtensions(paths []string, extension string) []string { 34 result := make([]string, len(paths)) 35 for i, path := range paths {
|
/build/soong/android/ |
D | paths.go | 337 func (paths Paths) containsPath(path Path) bool { 338 for _, p := range paths { 348 func PathsForSource(ctx PathContext, paths []string) Paths { 349 ret := make(Paths, len(paths)) 350 for i, path := range paths { 359 func ExistentPathsForSources(ctx PathContext, paths []string) Paths { 360 ret := make(Paths, 0, len(paths)) 361 for _, path := range paths { 385 func PathsForModuleSrc(ctx ModuleMissingDepsPathContext, paths []string) Paths { 386 return PathsForModuleSrcExcludes(ctx, paths, nil) [all …]
|
D | bazel_paths.go | 113 func BazelLabelForModuleSrc(ctx BazelConversionPathContext, paths []string) bazel.LabelList { 114 return BazelLabelForModuleSrcExcludes(ctx, paths, []string(nil)) 123 func BazelLabelForModuleSrcExcludes(ctx BazelConversionPathContext, paths, excludes []string) bazel… argument 129 labels := expandSrcsForBazel(ctx, paths, excluded) 211 func transformSubpackagePaths(ctx BazelConversionPathContext, paths bazel.LabelList) bazel.LabelLis… 213 for _, include := range paths.Includes { 216 for _, exclude := range paths.Excludes { 243 func expandSrcsForBazel(ctx BazelConversionPathContext, paths, expandedExcludes []string) bazel.Lab… argument 244 if paths == nil { 258 for _, p := range paths { [all …]
|
D | depset_paths.go | 81 return d.toList(func(paths interface{}) interface{} { 82 return FirstUniquePaths(paths.(Paths)) 92 paths := d.ToList() 93 return SortedUniquePaths(paths)
|
D | rule_builder.go | 435 rspFileInputs = append(rspFileInputs, rspFile.paths...) 696 rspFileInputs = append(rspFileInputs, rspFiles[0].paths...) 700 writeRspFileRule(r.ctx, rspFile.file, rspFile.paths) 702 inputs = append(inputs, rspFile.paths...) 764 paths Paths member 799 func (c *RuleBuilderCommand) PathsForInputs(paths Paths) []string { 800 ret := make([]string, len(paths)) 801 for i, path := range paths { 854 func (r *RuleBuilder) sboxPathsForInputsRel(paths Paths) []string { 855 ret := make([]string, len(paths)) [all …]
|
D | bazel_handler.go | 89 …issueBazelCommand(paths *bazelPaths, runName bazel.RunName, command bazelCommand, extraFlags ...st… 105 paths *bazelPaths member 218 paths: p, 305 func (r *mockBazelRunner) issueBazelCommand(paths *bazelPaths, 322 func (r *builtinBazelRunner) issueBazelCommand(paths *bazelPaths, runName bazel.RunName, command ba… 324 cmdFlags := []string{"--output_base=" + absolutePath(paths.outputBase), command.command} 326 cmdFlags = append(cmdFlags, "--profile="+shared.BazelMetricsFilename(paths, runName)) 348 bazelCmd := exec.Command(paths.bazelPath, cmdFlags...) 349 bazelCmd.Dir = absolutePath(paths.syntheticWorkspaceDir()) 351 "HOME="+paths.homeDir, [all …]
|
D | makevars.go | 67 DistForGoal(goal string, paths ...Path) 76 DistForGoals(goals []string, paths ...Path) 211 paths []string member 285 return lessArr(dists[i].goals, dists[j].goals) || lessArr(dists[i].paths, dists[j].paths) 402 strings.Join(dist.goals, " "), strings.Join(dist.paths, " ")) 445 func (c *makeVarsContext) addDist(goals []string, paths []string) { 448 paths: paths, 476 func (c *makeVarsContext) DistForGoal(goal string, paths ...Path) { 477 c.DistForGoals([]string{goal}, paths...) 484 func (c *makeVarsContext) DistForGoals(goals []string, paths ...Path) { [all …]
|
D | util.go | 410 func ShardPaths(paths Paths, shardSize int) []Paths { 411 if len(paths) == 0 { 414 ret := make([]Paths, 0, (len(paths)+shardSize-1)/shardSize) 415 for len(paths) > shardSize { 416 ret = append(ret, paths[0:shardSize]) 417 paths = paths[shardSize:] 419 if len(paths) > 0 { 420 ret = append(ret, paths)
|
/build/soong/genrule/ |
D | locations.go | 31 paths android.Paths member 35 return strings.Join(l.paths.Strings(), " ") 39 return cmd.PathsForInputs(l.paths) 61 paths android.Paths member 65 return strings.Join(l.paths.Strings(), " ") 69 return cmd.PathsForTools(l.paths)
|
D | genrule.go | 353 paths := android.PathsForModuleSrc(ctx, []string{toolFile}) 354 tools = append(tools, paths...) 355 addLocationLabel(toolFile, toolLocation{paths}) 360 …paths, missingDeps := android.PathsAndMissingDepsForModuleSrcExcludes(ctx, []string{in}, g.propert… 375 srcFiles = append(srcFiles, paths...) 376 addLocationLabel(in, inputLocation{paths}) 430 paths := loc.Paths(cmd) 431 if len(paths) == 0 { 433 } else if len(paths) > 1 { 437 return paths[0], nil [all …]
|
/build/soong/bloaty/ |
D | bloaty.go | 60 paths []android.WritablePath member 66 func MeasureSizeForPaths(ctx android.ModuleContext, paths ...android.OptionalPath) { 68 for _, p := range paths { 73 mf.paths = append(mf.paths, p) 92 for _, path := range filePaths.paths {
|
/build/soong/java/ |
D | android_resources.go | 73 paths android.DirectorySortedPaths member 93 files := data.paths.PathsInDirectory(filepath.Join(data.dir, dir.String())) 137 var paths android.Paths 140 paths = append(paths, android.PathForSource(ctx, f)) 143 result.paths = android.PathsToDirectorySortedPaths(paths)
|
D | sdk_library.go | 552 func (paths *scopePaths) extractStubsLibraryInfoFromDependency(ctx android.ModuleContext, dep andro… 555 paths.stubsHeaderPath = lib.HeaderJars 556 paths.stubsImplPath = lib.ImplementationJars 559 paths.stubsDexJarPath = libDep.DexJarBuildPath() 566 func (paths *scopePaths) treatDepAsApiStubsProvider(dep android.Module, action func(provider ApiStu… 575 func (paths *scopePaths) treatDepAsApiStubsSrcProvider(dep android.Module, action func(provider Api… 584 func (paths *scopePaths) extractApiInfoFromApiStubsProvider(provider ApiStubsProvider) { 585 paths.currentApiFilePath = android.OptionalPathForPath(provider.ApiFilePath()) 586 paths.removedApiFilePath = android.OptionalPathForPath(provider.RemovedApiFilePath()) 589 func (paths *scopePaths) extractApiInfoFromDep(ctx android.ModuleContext, dep android.Module) error… [all …]
|
D | hiddenapi_modular.go | 330 var paths android.Paths 331 paths = append(paths, input.DependencyStubDexJarsByScope.StubDexJarsForScope(apiScope)...) 332 paths = append(paths, input.AdditionalStubDexJarsByScope.StubDexJarsForScope(apiScope)...) 333 paths = append(paths, input.StubDexJarsByScope.StubDexJarsForScope(apiScope)...) 334 if len(paths) > 0 { 336 command.FlagWithInputList(option+"=", paths, ":") 516 for category, paths := range s { 517 s[category] = android.FirstUniquePaths(paths) 765 paths := android.PathsForModuleSrc(ctx, category.propertyValueReader(p)) 766 i.FlagFilesByCategory[category] = paths [all …]
|
D | system_modules_test.go | 24 paths := []string{} 28 paths = append(paths, info.HeaderJars.RelativeToTop().Strings()...) 30 return paths
|
D | hiddenapi_monolithic.go | 101 appendIfNotNil := func(paths android.Paths, path android.Path) android.Paths { 103 return paths 105 return append(paths, path)
|
/build/soong/cmd/path_interposer/ |
D | main.go | 57 sendLog: paths.SendLog, 58 config: paths.GetConfig, 75 sendLog func(logSocket string, entry *paths.LogEntry, done chan interface{}) 76 config func(name string) paths.PathConfig 77 lookupParents func() []paths.LogProcess 111 var procs []paths.LogProcess 118 opts.sendLog(interposer+"_log", &paths.LogEntry{ 213 func lookupParents() []paths.LogProcess { 219 list := []paths.LogProcess{} 227 list = append([]paths.LogProcess{
|
D | main_test.go | 66 logConfig := func(name string) paths.PathConfig { 68 return paths.PathConfig{ 73 return paths.PathConfig{ 78 return paths.PathConfig{ 149 logFunc := func(logSocket string, entry *paths.LogEntry, done chan interface{}) {
|
/build/make/tools/ |
D | exercise_compare_builds | 25 --incremental --detect-embedded-paths 27 --no-check-out-dir --detect-embedded-paths 45 --detect-embedded-paths 47 --no-build --detect-embedded-paths --subdirs 49 --no-build --detect-embedded-paths --subdirs system
|
/build/make/tools/fs_config/ |
D | fs_config.go | 39 paths android.Paths member 46 t.paths = android.PathsForSource(ctx, ret) 49 t.paths = android.Paths{path} 59 return t.paths
|
/build/soong/ui/build/ |
D | Android.bp | 20 name: "soong-ui-build-paths", 21 pkgPath: "android/soong/ui/build/paths", 23 "paths/config.go", 24 "paths/logs.go", 27 "paths/logs_test.go", 37 "soong-ui-build-paths",
|
D | upload.go | 47 func pruneMetricsFiles(paths []string) []string { 49 for _, p := range paths { 78 func UploadMetrics(ctx Context, config Config, simpleOutput bool, buildStarted time.Time, paths ...… 89 metricsFiles := pruneMetricsFiles(paths)
|
/build/soong/dexpreopt/ |
D | class_loader_context.go | 434 func ComputeClassLoaderContext(clcMap ClassLoaderContextMap) (clcStr string, paths android.Paths) { 464 paths = append(paths, hostPaths...) 466 return clcStr, android.FirstUniquePaths(paths) 471 var paths android.Paths 484 paths = append(paths, clc.Host) 485 paths = append(paths, subPaths...) 491 return clcHost, clcTarget, paths
|
/build/make/target/product/gsi/ |
D | Android.mk | 99 define find-abi-dump-paths 108 define filter-abi-dump-paths 116 VNDK_ABI_DUMPS := $(call find-abi-dump-paths,$(VNDK_ABI_DUMP_DIR)) 117 NDK_ABI_DUMPS := $(call find-abi-dump-paths,$(NDK_ABI_DUMP_DIR)) 118 PLATFORM_ABI_DUMPS := $(call find-abi-dump-paths,$(PLATFORM_ABI_DUMP_DIR)) 129 $(call filter-abi-dump-paths,LLNDK VNDK-SP VNDK-core,$(PRIVATE_LSDUMP_PATHS)), \ 135 $(call filter-abi-dump-paths,NDK,$(PRIVATE_LSDUMP_PATHS)) \ 142 $(call filter-abi-dump-paths,PLATFORM,$(PRIVATE_LSDUMP_PATHS)) \
|
/build/make/core/ |
D | artifact_path_requirements.mk | 30 $(eval path_patterns := $(call resolve-product-relative-paths,$(requirements),%)) \ 31 $(eval allowed_patterns := $(call resolve-product-relative-paths,$(allowed))) \ 36 Allowed paths are $(subst $(space),$(comma)$(space),$(addsuffix *,$(requirements)))) \ 46 $(eval allowed_patterns := $(call resolve-product-relative-paths,$(allowed))) \
|