From 18c82ffea75a108e89ac5ae34eaeb494a0559d4c Mon Sep 17 00:00:00 2001 From: patricktu Date: Fri, 10 May 2019 15:48:50 +0800 Subject: 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 --- android/module.go | 1 + 1 file changed, 1 insertion(+) (limited to 'android/module.go') 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"` } -- cgit v1.2.3-59-g8ed1b