Merge "Revert "Rename DexJar interface method to DexJarBuildPath."" am: c55b679e7b
am: 651a63ca9d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1324371 Change-Id: Ic3be6718aff2b04048bac17635b2858581fe7f8a
This commit is contained in:
committed by
Automerger Merge Worker
commit
7e59e8e2df
@@ -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.DexJarBuildPath(); dexJar != nil {
|
||||
if dexJar := lib.DexJar(); 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