Handle prebuiltDepTag for java modules am: 924d35b926

am: 14e1557f03

Change-Id: I8a441c40f35fd16d8dd225bf59f4a82f41e866e2
This commit is contained in:
Jiyong Park 2018-03-24 07:48:44 +00:00 committed by android-build-merger
commit 4d71601d40

View file

@ -19,7 +19,6 @@ package java
// is handled in builder.go // is handled in builder.go
import ( import (
"fmt"
"path/filepath" "path/filepath"
"strconv" "strconv"
"strings" "strings"
@ -646,8 +645,6 @@ func (j *Module) collectDeps(ctx android.ModuleContext) deps {
} }
case kotlinStdlibTag: case kotlinStdlibTag:
deps.kotlinStdlib = dep.HeaderJars() deps.kotlinStdlib = dep.HeaderJars()
default:
panic(fmt.Errorf("unknown dependency %q for %q", otherName, ctx.ModuleName()))
} }
deps.aidlIncludeDirs = append(deps.aidlIncludeDirs, dep.AidlIncludeDirs()...) deps.aidlIncludeDirs = append(deps.aidlIncludeDirs, dep.AidlIncludeDirs()...)