Revert "Rename DexJar interface method to DexJarBuildPath."
This reverts commit 562c240185
.
Reason for revert: breaks `lunch full-eng && m checkbuild`.
Change-Id: Id7c7d6240d98afaf8edd49b6c96cd05534b784cc
This commit is contained in:
@@ -1882,7 +1882,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