Add VisitDirectDepsWithTag am: ee6143cde2
am: 3b986ef4e3
am: 00c6c91ad5
Change-Id: I4062d6dd2969dec940f4fdcb109b9d072aa14fbb
This commit is contained in:
@@ -112,11 +112,9 @@ type SystemModulesProperties struct {
|
||||
func (system *SystemModules) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
var jars android.Paths
|
||||
|
||||
ctx.VisitDirectDeps(func(module android.Module) {
|
||||
if ctx.OtherModuleDependencyTag(module) == libTag {
|
||||
dep, _ := module.(Dependency)
|
||||
jars = append(jars, dep.HeaderJars()...)
|
||||
}
|
||||
ctx.VisitDirectDepsWithTag(libTag, func(module android.Module) {
|
||||
dep, _ := module.(Dependency)
|
||||
jars = append(jars, dep.HeaderJars()...)
|
||||
})
|
||||
|
||||
jars = append(jars, android.PathsForModuleSrc(ctx, system.properties.Jars)...)
|
||||
|
Reference in New Issue
Block a user