Hi,
I wrote a new soong_build plugin to support a new build app like
"andorid_app", this app has dependence for some java libs.
So I defined function below:
type NewDependencyTag struct {
blueprint.BaseDependencyTag
name string
}
var newLibTag = NewDependencyTag{name: "javalib"}
// Add app dependency
func (n *NewApp) DepsMutator(ctx android.BottomUpMutatorContext) {
ctx.AddDependency(ctx.Module(), newLibTag, n.properties.Libs...)
}
I can see dependence lib module name through ctx.VisitDirectDeps function,
but it was not set in build.ninja. It look like these libs was set in
Moudle.directDeps, but never implement to final build.ninja.
Does anyone know how to write it?
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.