Revert^2 "Rename DexJar interface method to DexJarBuildPath." am: 5539e7b568
am: 0852ac9a6d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1324492 Change-Id: I75dc93bb6aac621a0d90e5c5051cdeab98f5d1ef
This commit is contained in:
committed by
Automerger Merge Worker
commit
abbe8875b3
@@ -1899,7 +1899,7 @@ func (u *usesLibrary) usesLibraryPaths(ctx android.ModuleContext) map[string]and
|
||||
if !ctx.Config().UnbundledBuild() {
|
||||
ctx.VisitDirectDepsWithTag(usesLibTag, func(m android.Module) {
|
||||
if lib, ok := m.(Dependency); ok {
|
||||
if dexJar := lib.DexJar(); dexJar != nil {
|
||||
if dexJar := lib.DexJarBuildPath(); dexJar != nil {
|
||||
usesLibPaths[ctx.OtherModuleName(m)] = dexJar
|
||||
} else {
|
||||
ctx.ModuleErrorf("module %q in uses_libs or optional_uses_libs must produce a dex jar, does it have installable: true?",
|
||||
|
Reference in New Issue
Block a user