/build/soong/cc/ |
D | util.go | 58 globalCommonFlags: strings.Join(in.Global.CommonFlags, " "), 59 globalAsFlags: strings.Join(in.Global.AsFlags, " "), 60 globalYasmFlags: strings.Join(in.Global.YasmFlags, " "), 61 globalCFlags: strings.Join(in.Global.CFlags, " "), 62 globalToolingCFlags: strings.Join(in.Global.ToolingCFlags, " "), 63 globalToolingCppFlags: strings.Join(in.Global.ToolingCppFlags, " "), 64 globalConlyFlags: strings.Join(in.Global.ConlyFlags, " "), 65 globalCppFlags: strings.Join(in.Global.CppFlags, " "), 66 globalLdFlags: strings.Join(in.Global.LdFlags, " "), 68 localCommonFlags: strings.Join(in.Local.CommonFlags, " "), [all …]
|
D | makevars.go | 51 return strings.Join(keys, " ") 60 return strings.Join(allProjects, "% ") + "%" 87 ctx.StrictSorted("CLANG_CONFIG_UNKNOWN_CFLAGS", strings.Join(config.ClangUnknownCflags, " ")) 116 ctx.Strict("VENDOR_PUBLIC_LIBRARIES", strings.Join(exportedVendorPublicLibraries, " ")) 119 ctx.Strict("LSDUMP_PATHS", strings.Join(lsdumpPaths, " ")) 126 ctx.Strict("ADDRESS_SANITIZER_CONFIG_EXTRA_CFLAGS", strings.Join(asanCflags, " ")) 127 ctx.Strict("ADDRESS_SANITIZER_CONFIG_EXTRA_LDFLAGS", strings.Join(asanLdflags, " ")) 129 ctx.Strict("HWADDRESS_SANITIZER_CONFIG_EXTRA_CFLAGS", strings.Join(hwasanCflags, " ")) 130 ctx.Strict("HWADDRESS_SANITIZER_GLOBAL_OPTIONS", strings.Join(hwasanGlobalOptions, ",")) 132 ctx.Strict("CFI_EXTRA_CFLAGS", strings.Join(cfiCflags, " ")) [all …]
|
/build/soong/cc/config/ |
D | arm_device.go | 176 pctx.StaticVariable("ArmLdflags", strings.Join(armLdflags, " ")) 177 pctx.StaticVariable("ArmLldflags", strings.Join(armLldflags, " ")) 180 …pctx.StaticVariable("ArmToolchainClangCflags", strings.Join(ClangFilterUnknownCflags(armToolchainC… 181 pctx.StaticVariable("ArmClangCflags", strings.Join(ClangFilterUnknownCflags(armCflags), " ")) 182 pctx.StaticVariable("ArmClangLdflags", strings.Join(ClangFilterUnknownCflags(armLdflags), " ")) 183 pctx.StaticVariable("ArmClangLldflags", strings.Join(ClangFilterUnknownCflags(armLldflags), " ")) 184 pctx.StaticVariable("ArmClangCppflags", strings.Join(ClangFilterUnknownCflags(armCppflags), " ")) 187 pctx.StaticVariable("ArmClangArmCflags", strings.Join(ClangFilterUnknownCflags(armArmCflags), " ")) 188 …pctx.StaticVariable("ArmClangThumbCflags", strings.Join(ClangFilterUnknownCflags(armThumbCflags), … 192 strings.Join(armClangArchVariantCflags["armv7-a"], " ")) [all …]
|
D | arm64_device.go | 93 pctx.StaticVariable("Arm64Ldflags", strings.Join(arm64Ldflags, " ")) 94 pctx.StaticVariable("Arm64Lldflags", strings.Join(arm64Lldflags, " ")) 96 pctx.StaticVariable("Arm64ClangCflags", strings.Join(ClangFilterUnknownCflags(arm64Cflags), " ")) 97 pctx.StaticVariable("Arm64ClangLdflags", strings.Join(ClangFilterUnknownCflags(arm64Ldflags), " ")) 98 …pctx.StaticVariable("Arm64ClangLldflags", strings.Join(ClangFilterUnknownCflags(arm64Lldflags), " … 99 …pctx.StaticVariable("Arm64ClangCppflags", strings.Join(ClangFilterUnknownCflags(arm64Cppflags), " … 101 pctx.StaticVariable("Arm64ClangArmv8ACflags", strings.Join(arm64ArchVariantCflags["armv8-a"], " ")) 102 …pctx.StaticVariable("Arm64ClangArmv82ACflags", strings.Join(arm64ArchVariantCflags["armv8-2a"], " … 105 strings.Join(arm64ClangCpuVariantCflags["cortex-a53"], " ")) 108 strings.Join(arm64ClangCpuVariantCflags["cortex-a55"], " ")) [all …]
|
D | x86_windows_host.go | 134 pctx.StaticVariable("WindowsClangCflags", strings.Join(windowsClangCflags, " ")) 135 pctx.StaticVariable("WindowsClangLdflags", strings.Join(windowsClangLdflags, " ")) 136 pctx.StaticVariable("WindowsClangLldflags", strings.Join(windowsClangLldflags, " ")) 137 pctx.StaticVariable("WindowsClangCppflags", strings.Join(windowsClangCppflags, " ")) 140 strings.Join(ClangFilterUnknownCflags(windowsX86Cflags), " ")) 142 strings.Join(ClangFilterUnknownCflags(windowsX8664Cflags), " ")) 143 pctx.StaticVariable("WindowsX86ClangLdflags", strings.Join(windowsX86ClangLdflags, " ")) 144 pctx.StaticVariable("WindowsX86ClangLldflags", strings.Join(windowsX86ClangLldflags, " ")) 145 pctx.StaticVariable("WindowsX8664ClangLdflags", strings.Join(windowsX8664ClangLdflags, " ")) 146 pctx.StaticVariable("WindowsX8664ClangLldflags", strings.Join(windowsX8664ClangLldflags, " ")) [all …]
|
D | global.go | 153 pctx.StaticVariable("CommonGlobalConlyflags", strings.Join(commonGlobalConlyflags, " ")) 154 pctx.StaticVariable("DeviceGlobalCppflags", strings.Join(deviceGlobalCppflags, " ")) 155 pctx.StaticVariable("DeviceGlobalLdflags", strings.Join(deviceGlobalLdflags, " ")) 156 pctx.StaticVariable("DeviceGlobalLldflags", strings.Join(deviceGlobalLldflags, " ")) 157 pctx.StaticVariable("HostGlobalCppflags", strings.Join(hostGlobalCppflags, " ")) 158 pctx.StaticVariable("HostGlobalLdflags", strings.Join(hostGlobalLdflags, " ")) 159 pctx.StaticVariable("HostGlobalLldflags", strings.Join(hostGlobalLldflags, " ")) 179 return strings.Join(flags, " ") 184 return strings.Join(ClangFilterUnknownCflags(deviceGlobalCflags), " ") 186 …return strings.Join(append(ClangFilterUnknownCflags(deviceGlobalCflags), "${ClangExtraTargetCflags… [all …]
|
D | x86_linux_host.go | 123 pctx.StaticVariable("ShortLinuxGccVersion", strings.Join(p[:2], ".")) 133 pctx.StaticVariable("LinuxClangCflags", strings.Join(linuxClangCflags, " ")) 134 pctx.StaticVariable("LinuxClangLdflags", strings.Join(linuxClangLdflags, " ")) 135 pctx.StaticVariable("LinuxClangLldflags", strings.Join(linuxClangLldflags, " ")) 138 strings.Join(ClangFilterUnknownCflags(linuxX86Cflags), " ")) 140 strings.Join(ClangFilterUnknownCflags(linuxX8664Cflags), " ")) 141 pctx.StaticVariable("LinuxX86ClangLdflags", strings.Join(linuxX86ClangLdflags, " ")) 142 pctx.StaticVariable("LinuxX86ClangLldflags", strings.Join(linuxX86ClangLldflags, " ")) 143 pctx.StaticVariable("LinuxX8664ClangLdflags", strings.Join(linuxX8664ClangLdflags, " ")) 144 pctx.StaticVariable("LinuxX8664ClangLldflags", strings.Join(linuxX8664ClangLldflags, " "))
|
D | x86_device.go | 115 pctx.StaticVariable("X86Ldflags", strings.Join(x86Ldflags, " ")) 116 pctx.StaticVariable("X86Lldflags", strings.Join(x86Lldflags, " ")) 119 pctx.StaticVariable("X86ClangCflags", strings.Join(ClangFilterUnknownCflags(x86ClangCflags), " ")) 120 pctx.StaticVariable("X86ClangLdflags", strings.Join(ClangFilterUnknownCflags(x86Ldflags), " ")) 121 pctx.StaticVariable("X86ClangLldflags", strings.Join(ClangFilterUnknownCflags(x86Lldflags), " ")) 122 pctx.StaticVariable("X86ClangCppflags", strings.Join(ClangFilterUnknownCflags(x86Cppflags), " ")) 132 strings.Join(ClangFilterUnknownCflags(cflags), " ")) 208 toolchainClangCflags: strings.Join(toolchainClangCflags, " "),
|
D | x86_64_device.go | 104 pctx.StaticVariable("X86_64Ldflags", strings.Join(x86_64Ldflags, " ")) 105 pctx.StaticVariable("X86_64Lldflags", strings.Join(x86_64Lldflags, " ")) 108 pctx.StaticVariable("X86_64ClangCflags", strings.Join(ClangFilterUnknownCflags(x86_64Cflags), " ")) 109 …pctx.StaticVariable("X86_64ClangLdflags", strings.Join(ClangFilterUnknownCflags(x86_64Ldflags), " … 110 …pctx.StaticVariable("X86_64ClangLldflags", strings.Join(ClangFilterUnknownCflags(x86_64Lldflags), … 111 …pctx.StaticVariable("X86_64ClangCppflags", strings.Join(ClangFilterUnknownCflags(x86_64Cppflags), … 121 strings.Join(ClangFilterUnknownCflags(cflags), " ")) 197 toolchainClangCflags: strings.Join(toolchainClangCflags, " "),
|
D | clang.go | 92 pctx.StaticVariable("ClangExtraCflags", strings.Join([]string{ 133 pctx.StaticVariable("ClangExtraCppflags", strings.Join([]string{ 144 pctx.StaticVariable("ClangExtraTargetCflags", strings.Join([]string{ 148 pctx.StaticVariable("ClangExtraNoOverrideCflags", strings.Join([]string{ 183 pctx.StaticVariable("ClangExtraExternalCflags", strings.Join([]string{
|
/build/blueprint/pathtools/ |
D | glob_test.go | 118 pattern: filepath.Join(pwd, "testdata/glob/c/*/*.ext"), 120 filepath.Join(pwd, "testdata/glob/c/f/f.ext"), 121 filepath.Join(pwd, "testdata/glob/c/g/g.ext"), 124 filepath.Join(pwd, "testdata/glob/c"), 125 filepath.Join(pwd, "testdata/glob/c/f"), 126 filepath.Join(pwd, "testdata/glob/c/g"), 127 filepath.Join(pwd, "testdata/glob/c/h"), 174 pattern: filepath.Join(pwd, "testdata/glob/**/*.ext"), 176 filepath.Join(pwd, "testdata/glob/d.ext"), 177 filepath.Join(pwd, "testdata/glob/e.ext"), [all …]
|
/build/blueprint/bootstrap/ |
D | bootstrap.go | 37 …goTestMainCmd = pctx.StaticVariable("goTestMainCmd", filepath.Join(bootstrapDir, "bin", "gotestm… 38 …goTestRunnerCmd = pctx.StaticVariable("goTestRunnerCmd", filepath.Join(bootstrapDir, "bin", "gotes… 39 …pluginGenSrcCmd = pctx.StaticVariable("pluginGenSrcCmd", filepath.Join(bootstrapDir, "bin", "loadp… 154 docsDir = filepath.Join(mainDir, "docs") 156 mainDir = filepath.Join("$buildDir", mainSubDir) 157 bootstrapDir = filepath.Join("$buildDir", bootstrapSubDir) 158 miniBootstrapDir = filepath.Join("$buildDir", miniBootstrapSubDir) 160 minibpFile = filepath.Join(miniBootstrapDir, "minibp") 171 return filepath.Join(BuildDir, bootstrapSubDir, "bin") 176 return filepath.Join(c.BlueprintToolLocation()) [all …]
|
/build/blueprint/microfactory/ |
D | microfactory_test.go | 102 out := filepath.Join(dir, "out", "test") 106 if err := pkg.Compile(config, filepath.Join(dir, "out")); err != nil { 132 out := filepath.Join(dir, "out", "test") 136 if err := pkg.Compile(config, filepath.Join(dir, "out")); err != nil { 162 if err := pkg.Compile(config, filepath.Join(dir, "out")); err != nil { 223 os.Chtimes(filepath.Join(dir, "test.fact"), newTime, newTime) 224 os.Chtimes(filepath.Join(dir, "main/main.go"), newTime, newTime) 225 os.Chtimes(filepath.Join(dir, "a/a.go"), newTime, newTime) 226 os.Chtimes(filepath.Join(dir, "a/b.go"), newTime, newTime) 227 os.Chtimes(filepath.Join(dir, "b/a.go"), newTime, newTime) [all …]
|
/build/soong/java/ |
D | dexpreopt_config.go | 37 filepath.Join("/system/framework", m+".jar")) 95 subdir = filepath.Join("apex", apex, "javalib") 99 …return filepath.Join(ctx.Config().Getenv("OUT_DIR"), "host", ctx.Config().PrebuiltOS(), subdir, na… 101 return filepath.Join("/", subdir, name) 155 c.dir = deviceDir.Join(ctx, "dex_"+c.name+"jars") 156 c.symbolsDir = deviceDir.Join(ctx, "dex_"+c.name+"jars_unstripped") 165 inputDir := deviceDir.Join(ctx, "dex_"+c.name+"jars_input") 168 c.dexPaths = append(c.dexPaths, inputDir.Join(ctx, stemOf(jar)+".jar")) 175 imageDir := c.dir.Join(ctx, target.Os.String(), c.installSubdir, arch.String()) 179 images: imageDir.Join(ctx, imageName), [all …]
|
/build/soong/rust/config/ |
D | x86_linux_host.go | 39 pctx.StaticVariable("LinuxToolchainRustFlags", strings.Join(LinuxRustFlags, " ")) 40 pctx.StaticVariable("LinuxToolchainLinkFlags", strings.Join(LinuxRustLinkFlags, " ")) 41 pctx.StaticVariable("LinuxToolchainX86RustFlags", strings.Join(linuxX86Rustflags, " ")) 42 pctx.StaticVariable("LinuxToolchainX86LinkFlags", strings.Join(linuxX86Linkflags, " ")) 43 pctx.StaticVariable("LinuxToolchainX8664RustFlags", strings.Join(linuxX8664Rustflags, " ")) 44 pctx.StaticVariable("LinuxToolchainX8664LinkFlags", strings.Join(linuxX8664Linkflags, " "))
|
D | lints.go | 80 return strings.Join(defaultRustcLints, " ") 86 return strings.Join(defaultClippyLints, " ") 94 return strings.Join(defaultRustcVendorLints, " ") 100 return strings.Join(defaultClippyVendorLints, " ") 102 pctx.StaticVariable("RustAllowAllLints", strings.Join(allowAllLints, " "))
|
D | arm_device.go | 42 pctx.StaticVariable("ArmToolchainRustFlags", strings.Join(ArmRustFlags, " ")) 43 pctx.StaticVariable("ArmToolchainLinkFlags", strings.Join(ArmLinkFlags, " ")) 47 strings.Join(rustFlags, " ")) 90 toolchainRustFlags: strings.Join(toolchainRustFlags, " "),
|
D | arm64_device.go | 42 pctx.StaticVariable("Arm64ToolchainRustFlags", strings.Join(Arm64RustFlags, " ")) 43 pctx.StaticVariable("Arm64ToolchainLinkFlags", strings.Join(Arm64LinkFlags, " ")) 47 strings.Join(rustFlags, " ")) 90 toolchainRustFlags: strings.Join(toolchainRustFlags, " "),
|
/build/soong/cuj/ |
D | cuj.go | 91 log.SetOutput(filepath.Join(logsDir, "soong.log")) 92 trace.SetOutput(filepath.Join(logsDir, "build.trace")) 93 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, "verbose.log"))) 94 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, "error.log"))) 95 stat.AddOutput(status.NewProtoErrorLog(log, filepath.Join(logsDir, "build_error"))) 98 defer met.Dump(filepath.Join(logsDir, "soong_metrics")) 110 …trace.ImportMicrofactoryLog(filepath.Join(filepath.Dir(executable), "."+filepath.Base(executable)+… 138 cujDir := filepath.Join(outDir, "cuj_tests") 141 os.Setenv("OUT_DIR", filepath.Join(cujDir, "out")) 216 defer cujMetrics.Dump(filepath.Join(cujDir, "logs", "cuj_metrics.pb")) [all …]
|
/build/soong/ui/build/ |
D | finder.go | 49 prunePath := filepath.Join(dir, name) 73 filepath.Join(dumpDir, "files.db")) 89 err := dumpListToFile(ctx, config, androidMks, filepath.Join(dumpDir, "Android.mk.list")) 97 …err = dumpListToFile(ctx, config, androidProductsMks, filepath.Join(dumpDir, "AndroidProducts.mk.l… 103 err = dumpListToFile(ctx, config, cleanSpecs, filepath.Join(dumpDir, "CleanSpec.mk.list")) 109 err = dumpListToFile(ctx, config, owners, filepath.Join(dumpDir, "OWNERS.list")) 115 err = dumpListToFile(ctx, config, testMappings, filepath.Join(dumpDir, "TEST_MAPPING.list")) 125 err = dumpListToFile(ctx, config, androidBps, filepath.Join(dumpDir, "Android.bp.list")) 137 desiredText := strings.Join(list, "\n")
|
D | config.go | 116 outDir = filepath.Join(baseDir, filepath.Base(wd)) 125 ret.distDir = filepath.Join(ret.OutDir(), "dist") 191 symbolizerPath := filepath.Join("prebuilts/clang/host", ret.HostPrebuiltTag(), 223 java8Home := filepath.Join("prebuilts/jdk/jdk8", ret.HostPrebuiltTag()) 224 java9Home := filepath.Join("prebuilts/jdk/jdk9", ret.HostPrebuiltTag()) 225 java11Home := filepath.Join("prebuilts/jdk/jdk11", ret.HostPrebuiltTag()) 239 newPath := []string{filepath.Join(absJavaHome, "bin")} 250 ret.environ.Set("PATH", strings.Join(newPath, string(filepath.ListSeparator))) 253 buildDateTimeFile := filepath.Join(outDir, "build_date.txt") 357 _, err := os.Stat(filepath.Join(dir, buildFile)) [all …]
|
D | soong.go | 45 cmd.Environment.Set("GOROOT", "./"+filepath.Join("prebuilts/go", config.HostPrebuiltTag())) 46 cmd.Environment.Set("BLUEPRINT_LIST_FILE", filepath.Join(config.FileListDir(), "Android.bp.list")) 59 envFile := filepath.Join(config.SoongOutDir(), ".soong.environment") 60 envTool := filepath.Join(config.SoongOutDir(), ".bootstrap/bin/soong_env") 95 minibp := filepath.Join(config.SoongOutDir(), ".minibootstrap/minibp") 105 bpglob := filepath.Join(config.SoongOutDir(), ".minibootstrap/bpglob") 115 fifo := filepath.Join(config.OutDir(), ".ninja_fifo") 130 "-f", filepath.Join(config.SoongOutDir(), file)) 155 soongBuildMetricsFile := filepath.Join(config.OutDir(), "soong", "soong_build_metrics.pb")
|
D | util_test.go | 44 ensureEmptyDirectoriesExist(ctx, filepath.Join(tmpDir, "a/b")) 46 err = os.Chmod(filepath.Join(tmpDir, "a"), 0555) 51 ensureEmptyDirectoriesExist(ctx, filepath.Join(tmpDir, "a")) 62 src := filepath.Join(tmpDir, "src.txt") 67 dst := filepath.Join(tmpDir, "dst.txt") 95 srcExists := filepath.Join(tmpDir, "src_exist.txt")
|
/build/soong/python/ |
D | python_test.go | 68 filepath.Join("dir", bpFile): []byte( 83 filepath.Join("dir", bpFile): []byte( 102 filepath.Join("dir", bpFile): []byte( 125 filepath.Join("dir", bpFile): []byte( 163 filepath.Join("dir", bpFile): []byte( 191 filepath.Join("dir", bpFile): []byte( 225 filepath.Join("dir", bpFile): []byte( 297 filepath.Join("dir", "default.py"): nil, 298 filepath.Join("dir", "default_py2.py"): nil, 299 filepath.Join("dir", "default_py3.py"): nil, [all …]
|
/build/soong/apex/ |
D | androidmk.go | 71 linkTarget := filepath.Join("/system", fi.Path()) 72 linkPath := filepath.Join(a.installDir.ToMakePath().String(), apexBundleName, fi.Path()) 112 pathWhenActivated := filepath.Join("$(PRODUCT_OUT)", "apex", apexName, fi.installDir) 116 modulePath = filepath.Join(a.installDir.ToMakePath().String(), apexBundleName, fi.installDir) 122 fmt.Fprintln(w, "LOCAL_MODULE_SYMLINKS :=", strings.Join(fi.symlinks, " ")) 133 fmt.Fprintln(w, "LOCAL_TEST_DATA :=", strings.Join(cc.AndroidMkDataPaths(newDataPaths), " ")) 137 fmt.Fprintln(w, "LOCAL_NOTICE_FILE :=", strings.Join(fi.module.NoticeFiles().Strings(), " ")) 205 …fmt.Fprintln(w, "LOCAL_PREBUILT_COVERAGE_ARCHIVE :=", strings.Join(jniCoverageOutputs.Strings(), "… 243 fmt.Fprintln(w, "LOCAL_OVERRIDES_MODULES :=", strings.Join(patterns, " ")) 251 fmt.Fprintln(w, "LOCAL_POST_INSTALL_CMD :=", strings.Join(postInstallCommands, " && ")) [all …]
|