Home
last modified time | relevance | path

Searched refs:srcPath (Results 1 – 13 of 13) sorted by relevance

/build/soong/ui/build/
Dbazel.go220 srcPath := filepath.Join(config.OutDir(), relativePath, f.Name())
227 srcLstatResult, srcLstatErr := os.Lstat(srcPath)
240 ctx.Fatalf("Unable to Lstat src %s: %s", srcPath, srcLstatErr)
246 if err := os.Rename(destPath, srcPath); err != nil {
247 ctx.Fatalf("Unable to rename %s -> %s due to error %s", srcPath, destPath, err)
251 if err := os.Symlink(destPath, srcPath); err != nil {
252 ctx.Fatalf("Unable to create symlink %s -> %s due to error %s", srcPath, destPath, err)
/build/soong/android/
Dhooks.go138 srcPath Path member
146 return x.srcPath
157 func (x *hooks) runInstallHooks(ctx ModuleContext, srcPath Path, path InstallPath, symlink bool) {
161 srcPath: srcPath,
Dmodule.go358 InstallExecutable(installPath InstallPath, name string, srcPath Path, deps ...Path) InstallPath
367 InstallFile(installPath InstallPath, name string, srcPath Path, deps ...Path) InstallPath
376 InstallSymlink(installPath InstallPath, name string, srcPath InstallPath) InstallPath
394 PackageFile(installPath InstallPath, name string, srcPath Path) PackagingSpec
396 CheckbuildFile(srcPath Path)
2654 func (m *moduleContext) InstallFile(installPath InstallPath, name string, srcPath Path,
2656 return m.installFile(installPath, name, srcPath, deps, false)
2659 func (m *moduleContext) InstallExecutable(installPath InstallPath, name string, srcPath Path,
2661 return m.installFile(installPath, name, srcPath, deps, true)
2664 func (m *moduleContext) PackageFile(installPath InstallPath, name string, srcPath Path) PackagingSp…
[all …]
Dpackaging.go33 srcPath Path member
237 builder.Command().Text("cp").Input(ps.srcPath).Text(destPath)
Dpaths.go605 srcPath, err := safePathForSource(ctx, ctx.ModuleDir(), path[len(prefix):])
611 srcPath.basePath.rel = srcPath.path
613 ret = append(ret, srcPath)
1091 if srcPath, ok := path.(SourcePath); ok {
1092 relDir = srcPath.path
Drule_builder.go551 From: proto.String(tool.srcPath.String()),
555 tools = append(tools, tool.srcPath)
/build/soong/rust/
Dproc_macro.go70 srcPath, _ := srcPathFromModuleSrcs(ctx, procMacro.baseCompiler.Properties.Srcs)
71 TransformSrctoProcMacro(ctx, srcPath, deps, flags, outputFile)
Dlibrary.go435 srcPath := library.srcPath(ctx, deps)
456 TransformSrctoRlib(ctx, srcPath, deps, flags, outputFile)
461 TransformSrctoDylib(ctx, srcPath, deps, flags, outputFile)
466 TransformSrctoStatic(ctx, srcPath, deps, flags, outputFile)
471 TransformSrctoShared(ctx, srcPath, deps, flags, outputFile)
513 func (library *libraryDecorator) srcPath(ctx ModuleContext, deps PathDeps) android.Path { func
534 return android.OptionalPathForPath(Rustdoc(ctx, library.srcPath(ctx, deps),
Dprebuilt.go99 srcPath, paths := srcPathFromModuleSrcs(ctx, prebuilt.prebuiltSrcs())
103 return srcPath
Dbinary.go118 srcPath, _ := srcPathFromModuleSrcs(ctx, binary.baseCompiler.Properties.Srcs)
125 TransformSrcToBinary(ctx, srcPath, deps, flags, outputFile)
/build/soong/cc/
Dtoolchain_library.go87 srcPath := android.PathForSource(ctx, *library.Properties.Src)
88 outputFile := android.Path(srcPath)
Dandroidmk.go368 for _, srcPath := range benchmark.data {
369 dataPaths = append(dataPaths, android.DataPath{SrcPath: srcPath})
/build/soong/python/
Dpython.go702 …teOutputPath(ctx android.ModuleContext, m map[string]string, outputPath, srcPath, curModule, other… argument
707 outputPath, curModule, oldSrcPath, otherModule, srcPath)
710 m[outputPath] = srcPath