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.go453 for i, srcFile := range srcFiles {
454 objFile := android.ObjPathWithExt(ctx, subdir, srcFile, "o")
458 switch srcFile.Ext() {
462 Description: "yasm " + srcFile.Rel(),
464 Input: srcFile,
475 Description: "windres " + srcFile.Rel(),
477 Input: srcFile,
487 objFiles[i] = srcFile
501 switch srcFile.Ext() {
523 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.go503 for _, srcFile := range srcFiles {
504 switch srcFile.Ext() {
506 aidlSrcs = append(aidlSrcs, srcFile)
508 javaFile := genLogtags(ctx, srcFile)
511 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.go183 ExpandSource(srcFile, prop string) Path argument
184 ExpandOptionalSource(srcFile *string, prop string) OptionalPath
2267 func (m *moduleContext) ExpandSource(srcFile, prop string) Path {
2268 return PathForModuleSrc(m, srcFile)
2274 func (m *moduleContext) ExpandOptionalSource(srcFile *string, prop string) OptionalPath {
2275 if srcFile != nil {
2276 return OptionalPathForPath(PathForModuleSrc(m, *srcFile))
/build/soong/python/
Dpython.go558 for _, srcFile := range protoSrcs {
559 zip := genProto(ctx, srcFile, protoFlags, pkgPath)