Home
last modified time | relevance | path

Searched refs:srcFile (Results 1 – 7 of 7) sorted by relevance

/build/soong/cc/
Dgen.go189 func genWinMsg(ctx android.ModuleContext, srcFile android.Path, flags builderFlags) (android.Path, …
190 headerFile := android.GenPathWithExt(ctx, "windmc", srcFile, "h")
191 rcFile := android.GenPathWithExt(ctx, "windmc", srcFile, "rc")
197 Description: "windmc " + srcFile.Rel(),
200 Input: srcFile,
225 for i, srcFile := range srcFiles {
226 switch srcFile.Ext() {
228 cFile := android.GenPathWithExt(ctx, "yacc", srcFile, "c")
230 deps = append(deps, genYacc(ctx, yaccRule(), srcFile, cFile, buildFlags.yacc)...)
232 cppFile := android.GenPathWithExt(ctx, "yacc", srcFile, "cpp")
[all …]
Dbuilder.go446 for i, srcFile := range srcFiles {
447 objFile := android.ObjPathWithExt(ctx, subdir, srcFile, "o")
451 switch srcFile.Ext() {
455 Description: "yasm " + srcFile.Rel(),
457 Input: srcFile,
468 Description: "windres " + srcFile.Rel(),
470 Input: srcFile,
480 objFiles[i] = srcFile
494 switch srcFile.Ext() {
516 ctx.ModuleErrorf("File %s has unknown extension", srcFile)
[all …]
/build/soong/java/
Dgen.go122 for _, srcFile := range srcFiles {
123 if srcFile.Ext() == ".aidl" {
124 baseDir := strings.TrimSuffix(srcFile.String(), srcFile.Rel())
142 for _, srcFile := range srcFiles {
143 switch srcFile.Ext() {
145 aidlSrcs = append(aidlSrcs, srcFile)
147 j.logtagsSrcs = append(j.logtagsSrcs, srcFile)
148 javaFile := genLogtags(ctx, srcFile)
151 protoSrcs = append(protoSrcs, srcFile)
153 outSrcFiles = append(outSrcFiles, srcFile)
Ddroiddoc.go504 for _, srcFile := range srcFiles {
505 switch srcFile.Ext() {
507 aidlSrcs = append(aidlSrcs, srcFile)
509 javaFile := genLogtags(ctx, srcFile)
512 outSrcFiles = append(outSrcFiles, srcFile)
/build/make/tools/libhost/
DCopyFile.c493 char* srcFile; in copyDirectory() local
511 srcFile = malloc(srcLen +1 + nameLen +1); in copyDirectory()
512 memcpy(srcFile, src, srcLen); in copyDirectory()
513 srcFile[srcLen] = FSSEP; in copyDirectory()
514 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1); in copyDirectory()
521 if (copyFileRecursive(srcFile, dstFile, false, options) != 0) in copyDirectory()
524 free(srcFile); in copyDirectory()
/build/soong/android/
Dmodule.go169 ExpandSource(srcFile, prop string) Path argument
170 ExpandOptionalSource(srcFile *string, prop string) OptionalPath
2134 func (m *moduleContext) ExpandSource(srcFile, prop string) Path {
2135 return PathForModuleSrc(m, srcFile)
2141 func (m *moduleContext) ExpandOptionalSource(srcFile *string, prop string) OptionalPath {
2142 if srcFile != nil {
2143 return OptionalPathForPath(PathForModuleSrc(m, *srcFile))
/build/soong/python/
Dpython.go539 for _, srcFile := range protoSrcs {
540 zip := genProto(ctx, srcFile, protoFlags, pkgPath)