summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
author patricktu <patricktu@google.com> 2019-05-10 15:48:50 +0800
committer Patrick Tu <patricktu@google.com> 2019-05-27 11:34:10 +0000
commit18c82ffea75a108e89ac5ae34eaeb494a0559d4c (patch)
treea860e3adb6ff022cb9c7cbdc0f63c30660b71e97 /android/module.go
parent4af530ff720ab3d932cd5ab0845ef98ae9a8807c (diff)
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
Diffstat (limited to 'android/module.go')
-rw-r--r--android/module.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go
index fb5c00acb..bcefca0ba 100644
--- a/android/module.go
+++ b/android/module.go
@@ -1736,4 +1736,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"`
}