Revert "Turn on the instrumentation by default for the java code in APEXes"
This reverts commit 33b6654eea
.
Reason for revert: verify build breakage
Change-Id: I712a9de8ca3bfb17c36d3b8efa6176cdaf26640e
This commit is contained in:
@@ -1459,11 +1459,6 @@ func (j *Module) compile(ctx android.ModuleContext, aaptSrcJar android.Path) {
|
||||
j.headerJarFile = j.implementationJarFile
|
||||
}
|
||||
|
||||
// Force enable the instrumentation for java code that is built for APEXes
|
||||
if android.DirectlyInAnyApex(ctx, ctx.ModuleName()) && !j.IsForPlatform() {
|
||||
j.properties.Instrument = true
|
||||
}
|
||||
|
||||
if j.shouldInstrument(ctx) {
|
||||
outputFile = j.instrument(ctx, flags, outputFile, jarName)
|
||||
}
|
||||
|
Reference in New Issue
Block a user