Merge "Export Java library dependency information"
This commit is contained in:
commit
29f5068a1c
3 changed files with 6 additions and 0 deletions
|
@ -3734,6 +3734,8 @@ type IdeInfo struct {
|
|||
Installed_paths []string `json:"installed,omitempty"`
|
||||
SrcJars []string `json:"srcjars,omitempty"`
|
||||
Paths []string `json:"path,omitempty"`
|
||||
Static_libs []string `json:"static_libs,omitempty"`
|
||||
Libs []string `json:"libs,omitempty"`
|
||||
}
|
||||
|
||||
func CheckBlueprintSyntax(ctx BaseModuleContext, filename string, contents string) []error {
|
||||
|
|
|
@ -1694,6 +1694,8 @@ func (j *Module) IDEInfo(dpInfo *android.IdeInfo) {
|
|||
dpInfo.Jarjar_rules = append(dpInfo.Jarjar_rules, j.expandJarjarRules.String())
|
||||
}
|
||||
dpInfo.Paths = append(dpInfo.Paths, j.modulePaths...)
|
||||
dpInfo.Static_libs = append(dpInfo.Static_libs, j.properties.Static_libs...)
|
||||
dpInfo.Libs = append(dpInfo.Libs, j.properties.Libs...)
|
||||
}
|
||||
|
||||
func (j *Module) CompilerDeps() []string {
|
||||
|
|
|
@ -71,6 +71,8 @@ func (j *jdepsGeneratorSingleton) GenerateBuildActions(ctx android.SingletonCont
|
|||
dpInfo.Jars = android.FirstUniqueStrings(dpInfo.Jars)
|
||||
dpInfo.SrcJars = android.FirstUniqueStrings(dpInfo.SrcJars)
|
||||
dpInfo.Paths = android.FirstUniqueStrings(dpInfo.Paths)
|
||||
dpInfo.Static_libs = android.FirstUniqueStrings(dpInfo.Static_libs)
|
||||
dpInfo.Libs = android.FirstUniqueStrings(dpInfo.Libs)
|
||||
moduleInfos[name] = dpInfo
|
||||
|
||||
mkProvider, ok := module.(android.AndroidMkDataProvider)
|
||||
|
|
Loading…
Reference in a new issue