Home
last modified time | relevance | path

Searched refs:filePath (Results 1 – 10 of 10) sorted by relevance

/build/soong/bloaty/
Dbloaty.go96 filePath := path.(android.ModuleOutPath)
97 sizeFile := filePath.InSameDir(ctx, filePath.Base()+bloatyDescriptorExt)
100 Description: "bloaty " + filePath.Rel(),
101 Input: filePath,
/build/make/tools/metadata/
Dgenerator.go66 func readFileToString(filePath string) string {
67 file, err := os.Open(filePath)
104 filePath string, ownershipMetadataMap *sync.Map, keyLocks *keyToLocksMap,
109 fileContent := strings.TrimRight(readFileToString(filePath), "\n")
159filePath string, ownershipMetadataMap *sync.Map, sourceFileMetadataMap *sync.Map, keyLocks *keyToL…
164 fileContent := strings.TrimRight(readFileToString(filePath), "\n")
257 for _, filePath := range filePaths {
260 filePath, ownershipMetadataMap, keyLocks, errCh, &wg,
287 for _, filePath := range filePaths {
290 filePath, ownershipMetadataMap, sourceFileMetadataMap, keyLocks, errCh, &wg,
/build/soong/ui/build/
Dfinder.go210 func dumpListToFile(ctx Context, config Config, list []string, filePath string) (err error) {
213 actualBytes, readErr := ioutil.ReadFile(filePath)
215 err = ioutil.WriteFile(filePath, desiredBytes, 0777)
221 distFile(ctx, config, filePath, "module_paths")
Dkati.go69 filePath := filepath.Join(dir, filename)
71 rawPreviousValue, err := ioutil.ReadFile(filePath)
77 if err = ioutil.WriteFile(filePath, []byte(value), 0666); err != nil {
Dconfig.go800 filePath := strings.TrimPrefix(source, "file,")
801 err := validateNinjaWeightList(filePath)
803 ctx.Fatalf("Malformed weight list from %s: %s", filePath, err)
805 _, err = copyFile(filePath, filepath.Join(c.OutDir(), ".ninja_weight_list"))
807 ctx.Fatalf("Error to copy ninja weight list from %s: %s", filePath, err)
/build/soong/android/
Dhooks.go110 filePath, _ := factoryFunc.FileLine(factoryPtr)
111 typeName = fmt.Sprintf("%s_%s", path.Base(filePath), factoryFunc.Name())
/build/soong/finder/fs/
Dfs.go685 func (m *MockFs) WriteFile(filePath string, data []byte, perm os.FileMode) error {
686 filePath, err := m.resolve(filePath, true)
690 parentPath := filepath.Dir(filePath)
707 baseName := filepath.Base(filePath)
717 Path: filePath,
/build/soong/mk2rbc/mk2rbc/
Dmk2rbc.go143 filePath: *makefileList,
598 filePath string member
611 file, err := os.Open(l.filePath)
/build/soong/finder/
Dfinder_test.go512 filePath := filepath.Join(parentDir, fmt.Sprintf("%v/findme.txt", j))
513 paths = append(paths, filePath)
566 filePath := filepath.Join(parentDir, fmt.Sprintf("%v/findme.txt", j))
567 queryAnswers[i] = append(queryAnswers[i], filePath)
568 allFiles = append(allFiles, filePath)
/build/soong/java/
Dsdk_library.go3339 filePath := module.implPath(ctx)
3340 filePathAttr := formattedOptionalAttribute("file", &filePath)