diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2022-05-23 18:01:04 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-05-23 18:01:04 +0000 |
| commit | 5bec8d41ea85cd409c4e914d3f0959a88b64277e (patch) | |
| tree | bd6f2353cbd8a67f82c9fd7a7d533d687793b262 /java/java.go | |
| parent | d9d096ec7cdabe46c3b8365993c03c64be16aebd (diff) | |
| parent | 3bf97bd1c066cddd49e1ae1936bdeda0fbca805c (diff) | |
Merge "Clean up some bp2build technical debt"
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java.go b/java/java.go index 4476cec3e..511e885e9 100644 --- a/java/java.go +++ b/java/java.go @@ -1247,10 +1247,10 @@ func (j *Binary) GenerateAndroidBuildActions(ctx android.ModuleContext) { } func (j *Binary) DepsMutator(ctx android.BottomUpMutatorContext) { - if ctx.Arch().ArchType == android.Common || ctx.BazelConversionMode() { + if ctx.Arch().ArchType == android.Common { j.deps(ctx) } - if ctx.Arch().ArchType != android.Common || ctx.BazelConversionMode() { + if ctx.Arch().ArchType != android.Common { // These dependencies ensure the host installation rules will install the jar file and // the jni libraries when the wrapper is installed. ctx.AddVariationDependencies(nil, jniInstallTag, j.binaryProperties.Jni_libs...) |
