ResolveEngine add filter, ddg add isDependency.

Signed-off-by: xiehuc <xiehuc@gmail.com>