From: Xavier Ducrohet Date: Thu, 18 Aug 2011 21:51:43 +0000 (-0700) Subject: am d98e1be2: am f4750724: am 9d829f98: am 21e6e2de: Merge "Change generated dependenc... X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/901384222cb775bceec4723c285866bd4617b4bb?hp=-c am d98e1be2: am f4750724: am 9d829f98: am 21e6e2de: Merge "Change generated dependency file names" * commit 'd98e1be20e1cca5c36c7e0344500d4a5574568aa': Change generated dependency file names --- 901384222cb775bceec4723c285866bd4617b4bb diff --combined Resource.cpp index cb6484f,bb56af9..2e796a2 --- a/Resource.cpp +++ b/Resource.cpp @@@ -1958,10 -1958,12 +1958,12 @@@ status_t writeResourceSymbols(Bundle* b } 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()); @@@ -2244,11 -2246,6 +2246,11 @@@ writeProguardForLayouts(ProguardKeepSet } } } + // Handle the overlays + sp overlay = assets->getOverlay(); + if (overlay.get()) { + return writeProguardForLayouts(keep, overlay); + } return NO_ERROR; }