diff options
| author | 2011-08-18 14:45:36 -0700 | |
|---|---|---|
| committer | 2011-08-18 14:45:36 -0700 | |
| commit | f4750724cf8db972a052cb388dc9a39fc7aa6dd6 (patch) | |
| tree | 41b012f385db8a87c920db44b35199dd1e2e119e /tools/aapt/Resource.cpp | |
| parent | 3e9413473f87ad17f3767ffbb0c57046c2db29be (diff) | |
| parent | 9d829f98dc19edecb2305b61b9c79517c4f95383 (diff) | |
am 9d829f98: am 21e6e2de: Merge "Change generated dependency file names"
* commit '9d829f98dc19edecb2305b61b9c79517c4f95383':
Change generated dependency file names
Diffstat (limited to 'tools/aapt/Resource.cpp')
| -rw-r--r-- | tools/aapt/Resource.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp index 5152d3b5ed3f..f64728d0a8c5 100644 --- a/tools/aapt/Resource.cpp +++ b/tools/aapt/Resource.cpp @@ -1890,10 +1890,12 @@ status_t writeResourceSymbols(Bundle* bundle, const sp<AaptAssets>& assets, } fclose(fp); + // If we were asked to generate a dependency file, we'll go ahead and add this R.java + // as a target in the dependency file right next to it. if (bundle->getGenDependencies()) { // Add this R.java to the dependency file String8 dependencyFile(bundle->getRClassDir()); - dependencyFile.appendPath("R.d"); + dependencyFile.appendPath("R.java.d"); fp = fopen(dependencyFile.string(), "a"); fprintf(fp,"%s \\\n", dest.string()); |