/build/soong/java/ |
D | kotlin_test.go | 48 if len(fooKotlinc.Inputs) != 2 || fooKotlinc.Inputs[0].String() != "a.java" || 49 fooKotlinc.Inputs[1].String() != "b.kt" { 53 if len(fooJavac.Inputs) != 1 || fooJavac.Inputs[0].String() != "a.java" { 57 if !strings.Contains(fooJavac.Args["classpath"], fooKotlinc.Output.String()) { 59 fooJavac.Args["classpath"], fooKotlinc.Output.String()) 62 if !inList(fooKotlinc.Output.String(), fooJar.Inputs.Strings()) { 64 fooJar.Inputs.Strings(), fooKotlinc.Output.String()) 71 if len(barKotlinc.Inputs) != 1 || barKotlinc.Inputs[0].String() != "b.kt" { 75 if !inList(fooHeaderJar.Output.String(), barKotlinc.Implicits.Strings()) { 77 fooHeaderJar.Output.String(), barKotlinc.Implicits.Strings()) [all …]
|
D | proto.go | 39 rule.Command().Text("rm -rf").Flag(outDir.String()) 40 rule.Command().Text("mkdir -p").Flag(outDir.String()) 43 depFile := srcJarFile.InSameDir(ctx, protoFile.String()+".d") 44 rule.Command().Text("mkdir -p").Flag(filepath.Dir(depFile.String())) 55 FlagWithArg("-C ", outDir.String()). 56 FlagWithArg("-D ", outDir.String()) 58 rule.Command().Text("rm -rf").Flag(outDir.String()) 76 if String(p.Proto.Plugin) == "" { 77 switch String(p.Proto.Type) { 92 String(p.Proto.Type)) [all …]
|
D | droiddoc.go | 330 } else if String(apiToCheck.Api_file) != "" && String(apiToCheck.Removed_api_file) != "" { 332 } else if String(apiToCheck.Api_file) != "" { 334 } else if String(apiToCheck.Removed_api_file) != "" { 342 api_file := String(apiToCheck.Api_file) 343 removed_api_file := String(apiToCheck.Removed_api_file) 432 return sdkSpecFrom(String(j.properties.Sdk_version)) 436 return proptools.String(j.properties.System_modules) 479 flags = append(flags, "-p"+aidlPreprocess.String()) 486 flags = append(flags, "-I"+android.PathForModuleSrc(ctx).String()) 488 flags = append(flags, "-I"+src.String()) [all …]
|
D | java_resources.go | 42 dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, exclude).String(), nil) 44 excludeDirs = append(excludeDirs, dir.String()) 45 excludeFiles = append(excludeFiles, dir.(android.SourcePath).Join(ctx, "**/*").String()) 55 …dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, resourceDir).String(), excl… 57 files := ctx.GlobFiles(filepath.Join(dir.String(), "**/*"), excludeFiles) 62 args = append(args, "-C", dir.String()) 65 path := f.String() 66 if !strings.HasPrefix(path, dir.String()) { 104 path := f.String()
|
D | aapt2.go | 37 subDir := filepath.Dir(res.String()) 81 Description: "aapt2 compile " + dir.String() + shardDesc, 85 "outDir": android.PathForModuleOut(ctx, "aapt2", dir.String()).String(), 92 return ret[i].String() < ret[j].String() 120 "resZipDir": android.PathForModuleOut(ctx, "aapt2", "reszip", flata.Base()).String(), 177 inFlags = append(inFlags, "@"+resFileList.String()) 191 inFlags = append(inFlags, "-R", "@"+overlayFileList.String()) 218 "proguardOptions": proguardOptions.String(), 219 "genDir": genDir.String(), 220 "genJar": genJar.String(), [all …]
|
D | dexpreopt_bootjars.go | 348 FlagWithArg("-C ", image.dir.Join(ctx, android.Android.String()).String()). 364 os := image.target.Os.String() // We need to distinguish host-x86 and device-x86. 365 symbolsDir := image.symbolsDir.Join(ctx, os, image.installSubdir, arch.String()) 367 outputDir := image.dir.Join(ctx, os, image.installSubdir, arch.String()) 375 rule.Command().Text("mkdir").Flag("-p").Flag(symbolsDir.String()) 377 Flag(symbolsDir.Join(ctx, "*.art").String()). 378 Flag(symbolsDir.Join(ctx, "*.oat").String()). 379 Flag(symbolsDir.Join(ctx, "*.invocation").String()) 381 Flag(outputDir.Join(ctx, "*.art").String()). 382 Flag(outputDir.Join(ctx, "*.oat").String()). [all …]
|
D | kotlin.go | 91 commonSrcFilesArg = "--common_srcs " + commonSrcsList.String() 105 "classesDir": android.PathForModuleOut(ctx, "kotlinc", "classes").String(), 106 "srcJarDir": android.PathForModuleOut(ctx, "kotlinc", "srcJars").String(), 107 "kotlinBuildFile": android.PathForModuleOut(ctx, "kotlinc-build.xml").String(), 108 "emptyDir": android.PathForModuleOut(ctx, "kotlinc", "empty").String(), 173 commonSrcFilesArg = "--common_srcs " + commonSrcsList.String() 187 {"-source", flags.javaVersion.String()}, 188 {"-target", flags.javaVersion.String()}, 206 "srcJarDir": android.PathForModuleOut(ctx, "kapt", "srcJars").String(), 207 "kotlinBuildFile": android.PathForModuleOut(ctx, "kapt", "build.xml").String(), [all …]
|
D | java_test.go | 291 if len(javac.Inputs) != 1 || javac.Inputs[0].String() != "a.java" { 295 baz := ctx.ModuleForTests("baz", "android_common").Rule("javac").Output.String() 307 if len(combineJar.Inputs) != 2 || combineJar.Inputs[1].String() != baz { 444 …if len(javac.Inputs) != 2 || javac.Inputs[0].String() != "a.java" || javac.Inputs[1].String() != "… 463 buildOS := android.BuildOs.String() 466 barJar := bar.Output("bar.jar").Output.String() 503 buildOS := android.BuildOs.String() 571 if !strings.Contains(javac.Args["classpath"], barJar.String()) { 572 t.Errorf("foo classpath %v does not contain %q", javac.Args["classpath"], barJar.String()) 575 if !strings.Contains(javac.Args["classpath"], sdklibStubsJar.String()) { [all …]
|
/build/soong/cc/ |
D | ndk_headers.go | 110 headerDir := filepath.Dir(header.String()) 113 strippedHeaderDir, err := filepath.Rel(fullFromPath.String(), headerDir) 116 fullFromPath.String(), err) 127 if String(m.properties.License) == "" { 131 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License)) 135 installDir := getHeaderInstallDir(ctx, header, String(m.properties.From), 136 String(m.properties.To)) 211 if String(m.properties.License) == "" { 215 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License)) 217 fromSrcPath := android.PathForModuleSrc(ctx, String(m.properties.From)) [all …]
|
D | proto.go | 44 optionsFile := pathtools.ReplaceExtension(protoFile.String(), "options") 65 if String(p.Proto.Plugin) == "" { 66 switch String(p.Proto.Type) { 101 String(p.Proto.Type)) 121 flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-I"+flags.proto.SubDir.String()) 123 flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-I"+flags.proto.Dir.String()) 125 if String(p.Proto.Plugin) == "" { 128 switch String(p.Proto.Type) { 146 String(p.Proto.Type)) 152 flags.proto.Flags = append(flags.proto.Flags, "--plugin="+path.String())
|
D | androidmk.go | 156 path := d.SrcPath.String() 194 exportedFlags = append(exportedFlags, "-I"+dir.String()) 197 exportedFlags = append(exportedFlags, "-isystem "+dir.String()) 211 "$(LOCAL_ADDITIONAL_DEPENDENCIES) "+library.sAbiOutputFile.String()) 214 "$(LOCAL_ADDITIONAL_DEPENDENCIES) "+library.sAbiDiff.String()) 216 "$(HEADER_ABI_DIFFS) "+library.sAbiDiff.String()) 225 library.sAbiOutputFile.String()) 228 library.sAbiDiff.String()) 230 library.sAbiDiff.String()) 241 entries.SetString("LOCAL_SOONG_TOC", library.toc().String()) [all …]
|
/build/soong/apex/ |
D | key.go | 27 var String = proptools.String var 71 if android.SrcIsModule(String(m.properties.Public_key)) != "" { 72 m.public_key_file = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 74 m.public_key_file = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Public_key)) 76 if !android.ExistentPathForSource(ctx, m.public_key_file.String()).Valid() { 77 m.public_key_file = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 81 if android.SrcIsModule(String(m.properties.Private_key)) != "" { 82 m.private_key_file = android.PathForModuleSrc(ctx, String(m.properties.Private_key)) 84 m.private_key_file = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Private_key)) 85 if !android.ExistentPathForSource(ctx, m.private_key_file.String()).Valid() { [all …]
|
D | androidmk.go | 72 linkPath := filepath.Join(a.installDir.ToMakePath().String(), apexBundleName, fi.Path()) 116 modulePath = filepath.Join(a.installDir.ToMakePath().String(), apexBundleName, fi.installDir) 148 fmt.Fprintln(w, "LOCAL_PREBUILT_MODULE_FILE :=", fi.builtFile.String()) 151 archStr := fi.module.Target().Arch.ArchType.String() 170 makeOs := fi.module.Target().Os.String() 179 fmt.Fprintln(w, "LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR :=", fi.jacocoReportClassesFile.String()) 188 ….Fprintln(w, "LOCAL_SOONG_CLASSES_JAR :=", javaModule.ImplementationAndResourcesJars()[0].String()) 189 fmt.Fprintln(w, "LOCAL_SOONG_HEADER_JAR :=", javaModule.HeaderJars()[0].String()) 191 fmt.Fprintln(w, "LOCAL_SOONG_CLASSES_JAR :=", fi.builtFile.String()) 192 fmt.Fprintln(w, "LOCAL_SOONG_HEADER_JAR :=", fi.builtFile.String()) [all …]
|
D | builder.go | 49 return ctx.Config().HostToolPath(ctx, tool).String() 246 …if matched, err := path.Match("system/sepolicy/**/*", fileContexts.String()); err != nil || !match… 251 if !android.ExistentPathForSource(ctx, fileContexts.String()).Valid() { 299 Text("(cd " + imageDir.String() + " ; "). 353 Description: "Bundle Config " + output.String(), 380 destPath := android.PathForModuleOut(ctx, "image"+suffix, fi.Path()).String() 393 fmt.Sprintf("unzip -qDD -d %s %s", destPathDir, fi.builtFile.String())) 395 copyCommands = append(copyCommands, "cp -f "+fi.builtFile.String()+" "+destPath) 401 symlinkDest := android.PathForModuleOut(ctx, "image"+suffix, symlinkPath).String() 407 dataPath := d.SrcPath.String() [all …]
|
/build/soong/android/ |
D | rule_builder.go | 59 func (installs RuleBuilderInstalls) String() string { func 65 sb.WriteString(install.From.String()) 69 return sb.String() 159 return temporariesList[i].String() < temporariesList[j].String() 176 inputStr := input.String() 179 inputs[input.String()] = input 191 return inputList[i].String() < inputList[j].String() 203 orderOnlys[orderOnly.String()] = orderOnly 213 return orderOnlyList[i].String() < orderOnlyList[j].String() 223 outputs[output.String()] = output [all …]
|
D | proto.go | 50 if String(p.Proto.Plugin) != "" && String(p.Proto.Type) != "" { 54 if plugin := String(p.Proto.Plugin); plugin != "" { 78 plugin := String(p.Proto.Plugin) 80 flags = append(flags, "--plugin=protoc-gen-"+plugin+"="+hostTool.HostToolPath().String()) 85 if plugin := String(p.Proto.Plugin); plugin != "" { 133 protoBase = strings.TrimSuffix(protoFile.String(), rel) 138 FlagWithArg(flags.OutTypeFlag+"=", strings.Join(flags.OutParams, ",")+":"+outDir.String()). 147 BuiltTool(ctx, "dep_fixer").Flag(depFile.String())
|
D | paths.go | 116 String() string methodSpec 212 func (p OptionalPath) String() string { func 214 return p.path.String() 306 ret[i] = path.String() 320 prefix := pathForModuleSrc(ctx).String() 389 if !InList(p.String(), expandedExcludes) { 414 paths := ctx.GlobFiles(pathForModuleSrc(ctx, s).String(), expandedExcludes) 418 if exists, _, err := ctx.Config().fs.Exists(p.String()); err != nil { 424 if InList(p.String(), expandedExcludes) { 484 ret[i] = path.String() [all …]
|
/build/soong/ui/metrics/ |
D | metrics.go | 72 m.metrics.BuildId = proto.String(v) 75 m.metrics.PlatformVersionCodename = proto.String(v) 78 m.metrics.TargetProduct = proto.String(v) 94 m.metrics.TargetArchVariant = proto.String(v) 96 m.metrics.TargetCpuVariant = proto.String(v) 102 m.metrics.HostOs = proto.String(v) 104 m.metrics.HostOsExtra = proto.String(v) 106 m.metrics.HostCrossOs = proto.String(v) 108 m.metrics.HostCrossArch = proto.String(v) 110 m.metrics.HostCross_2NdArch = proto.String(v) [all …]
|
/build/blueprint/parser/ |
D | ast.go | 33 String() string methodSpec 49 func (a *Assignment) String() string { func 74 func (m *Module) String() string { func 77 propertyStrings[i] = property.String() 103 func (p *Property) String() string { func 117 String() string methodSpec 170 func (t Type) String() string { func 214 func (x *Operator) String() string { func 215 return fmt.Sprintf("(%s %c %s = %s)@%s", x.Args[0].String(), x.Operator, x.Args[1].String(), 237 func (x *Variable) String() string { func [all …]
|
D | parser_test.go | 72 Value: &String{ 166 &String{ 170 &String{ 174 &String{ 178 &String{ 182 &String{ 245 Value: &String{ 270 Value: &String{ 315 &String{ 319 &String{ [all …]
|
/build/soong/dexpreopt/dexpreopt_gen/ |
D | dexpreopt_gen.go | 34 dexpreoptScriptPath = flag.String("dexpreopt_script", "", "path to output dexpreopt script") 35 …globalSoongConfigPath = flag.String("global_soong", "", "path to global configuration file for set… 36 globalConfigPath = flag.String("global", "", "path to global configuration file") 37 moduleConfigPath = flag.String("module", "", "path to module configuration file") 38 outDir = flag.String("out_dir", "", "path to output directory") 145 dexpreoptRule.Command().FlagWithArg("rm -rf ", installDir.String()) 146 dexpreoptRule.Command().FlagWithArg("mkdir -p ", installDir.String()) 150 dexpreoptRule.Command().Text("mkdir -p").Flag(filepath.Dir(installPath.String())) 155 FlagWithArg("-C ", installDir.String()). 156 FlagWithArg("-D ", installDir.String()) [all …]
|
/build/soong/zip/cmd/ |
D | main.go | 33 func (u *uniqueSet) String() string { func 49 func (file) String() string { return `""` } func 58 func (listFiles) String() string { return `""` } func 67 func (dir) String() string { return `""` } func 76 func (relativeRoot) String() string { return "" } func 86 func (junkPaths) String() string { return "" } func 96 func (rootPrefix) String() string { return "" } func 131 out := flags.String("o", "", "file to write zip file to") 132 manifest := flags.String("m", "", "input jar manifest file name") 142 cpuProfile := flags.String("cpuprofile", "", "write cpu profile to file") [all …]
|
/build/soong/python/ |
D | proto.go | 29 rule.Command().Text("rm -rf").Flag(outDir.String()) 30 rule.Command().Text("mkdir -p").Flag(outDir.String()) 42 zipCmd.FlagWithArg("-C ", outDir.String()). 43 FlagWithArg("-D ", outDir.String()) 45 rule.Command().Text("rm -rf").Flag(outDir.String())
|
/build/soong/symbol_inject/cmd/ |
D | symbol_inject.go | 26 input = flag.String("i", "", "input file") 27 output = flag.String("o", "", "output file") 28 symbol = flag.String("s", "", "symbol to inject into") 29 from = flag.String("from", "", "optional existing value of the symbol for verification") 30 value = flag.String("v", "", "value to inject into symbol")
|
/build/soong/etc/ |
D | prebuilt_etc_test.go | 224 if p.installDirPath.String() != expected { 225 t.Errorf("expected %q, got %q", expected, p.installDirPath.String()) 248 buildOS := android.BuildOs.String() 266 if p.installDirPath.String() != expected { 267 t.Errorf("expected %q, got %q", expected, p.installDirPath.String()) 280 buildOS := android.BuildOs.String() 283 if p.installDirPath.String() != expected { 284 t.Errorf("expected %q, got %q", expected, p.installDirPath.String()) 298 if p.installDirPath.String() != expected { 299 t.Errorf("expected %q, got %q", expected, p.installDirPath.String()) [all …]
|