Loops through the string paths and writes them to the file pointer Each file path is written on its own line with a terminating backslash.
| 2629 | // Loops through the string paths and writes them to the file pointer |
| 2630 | // Each file path is written on its own line with a terminating backslash. |
| 2631 | status_t writePathsToFile(const sp<FilePathStore>& files, FILE* fp) |
| 2632 | { |
| 2633 | status_t deps = -1; |
| 2634 | for (size_t file_i = 0; file_i < files->size(); ++file_i) { |
| 2635 | // Add the full file path to the dependency file |
| 2636 | fprintf(fp, "%s \\\n", files->itemAt(file_i).string()); |
| 2637 | deps++; |
| 2638 | } |
| 2639 | return deps; |
| 2640 | } |
| 2641 | |
| 2642 | status_t |
| 2643 | writeDependencyPreReqs(Bundle* bundle, const sp<AaptAssets>& assets, FILE* fp, bool includeRaw) |
no test coverage detected