Merge "AIDEGen: Collect the srcjar into out/soong/module_bp_java_deps.json"
This commit is contained in:
commit
b023fe382b
|
@ -1740,4 +1740,5 @@ type IdeInfo struct {
|
|||
Jars []string `json:"jars,omitempty"`
|
||||
Classes []string `json:"class,omitempty"`
|
||||
Installed_paths []string `json:"installed,omitempty"`
|
||||
SrcJars []string `json:"srcjars,omitempty"`
|
||||
}
|
||||
|
|
|
@ -1484,6 +1484,7 @@ func (j *Module) logtags() android.Paths {
|
|||
func (j *Module) IDEInfo(dpInfo *android.IdeInfo) {
|
||||
dpInfo.Deps = append(dpInfo.Deps, j.CompilerDeps()...)
|
||||
dpInfo.Srcs = append(dpInfo.Srcs, j.expandIDEInfoCompiledSrcs...)
|
||||
dpInfo.SrcJars = append(dpInfo.SrcJars, j.compiledSrcJars.Strings()...)
|
||||
dpInfo.Aidl_include_dirs = append(dpInfo.Aidl_include_dirs, j.deviceProperties.Aidl.Include_dirs...)
|
||||
if j.expandJarjarRules != nil {
|
||||
dpInfo.Jarjar_rules = append(dpInfo.Jarjar_rules, j.expandJarjarRules.String())
|
||||
|
|
|
@ -72,6 +72,7 @@ func (j *jdepsGeneratorSingleton) GenerateBuildActions(ctx android.SingletonCont
|
|||
dpInfo.Aidl_include_dirs = android.FirstUniqueStrings(dpInfo.Aidl_include_dirs)
|
||||
dpInfo.Jarjar_rules = android.FirstUniqueStrings(dpInfo.Jarjar_rules)
|
||||
dpInfo.Jars = android.FirstUniqueStrings(dpInfo.Jars)
|
||||
dpInfo.SrcJars = android.FirstUniqueStrings(dpInfo.SrcJars)
|
||||
moduleInfos[name] = dpInfo
|
||||
|
||||
mkProvider, ok := module.(android.AndroidMkDataProvider)
|
||||
|
|
Loading…
Reference in New Issue