Merge "Add build flag to enable ResourceProcessorBusyBox by default" into main

This commit is contained in:
Treehugger Robot
2024-01-26 19:07:25 +00:00
committed by Gerrit Code Review
3 changed files with 15 additions and 11 deletions

View File

@@ -588,7 +588,7 @@ func (a *AndroidApp) dexBuildActions(ctx android.ModuleContext) (android.Path, a
var extraSrcJars android.Paths
var extraClasspathJars android.Paths
var extraCombinedJars android.Paths
if a.useResourceProcessorBusyBox() {
if a.useResourceProcessorBusyBox(ctx) {
// When building an app with ResourceProcessorBusyBox enabled ResourceProcessorBusyBox has already
// created R.class files that provide IDs for resources in busybox/R.jar. Pass that file in the
// classpath when compiling everything else, and add it to the final classes jar.