diff options
author | Jackal Guo <jackalguo@google.com> | 2020-02-17 05:12:06 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-02-17 05:12:06 +0000 |
commit | 954b29728db00a55c9ec366ef8c7a2fdd0329583 (patch) | |
tree | a85550c28f27a3dfc18806331bd9a1ced33c5adc /java/java.go | |
parent | 2fe818f8b0150d023ba3360b8ae26d25a8c429bf (diff) | |
parent | c021ea0b3543d4ff64b16414c0276b96dc5b2c4b (diff) |
Merge "Revert "Turn on the instrumentation by default for the java code in APEXes""
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/java/java.go b/java/java.go index 41fd8da97..ceedd8971 100644 --- a/java/java.go +++ b/java/java.go @@ -1510,11 +1510,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) } |