AIDEGen: Collect the srcjar into out/soong/module_bp_java_deps.json
Build module_bp_java_deps.json without this change:
Build time: 3m53.761s
File size: 12,955,363 Bytes
Build module_bp_java_deps.json with this change:
Build time: 3m49.106s
File size: 13,361,647 Bytes
Bug: 132407603
Test: 1. SOONG_COLLECT_JAVA_DEPS=false make nothing
2. SOONG_COLLECT_JAVA_DEPS=true make nothing
3. Check module_bp_java_deps.json in /out/soong.
In SettingsProvider section there should contain
"srcjars": [
"out/soong/.intermediates/frameworks/base/packages/SettingsProvider/SettingsProvider/android_common/gen/R.jar"
]
Change-Id: I800a4d4f13b280d7ef87005e599cbd0aaf8c93f4
diff --git a/android/module.go b/android/module.go
index fb5c00a..bcefca0 100644
--- a/android/module.go
+++ b/android/module.go
@@ -1736,4 +1736,5 @@
Jars []string `json:"jars,omitempty"`
Classes []string `json:"class,omitempty"`
Installed_paths []string `json:"installed,omitempty"`
+ SrcJars []string `json:"srcjars,omitempty"`
}