summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-03-22 21:39:34 -0700
committerColin Cross <ccross@android.com>2019-03-23 04:42:57 +0000
commitc48428a6bb1102281524f0a3bc252deb34568fe7 (patch)
treeaf375dd459cd838bb4b8218886742a17bfb67450 /java/java_test.go
parent66f2e8701e68f18d600c91a7c0779d4b9c8db3fe (diff)
Don't visit disabled modules with SOONG_COLLECT_JAVA_DEPS=true
Calling AndroidMk() on a disabled module may not be safe because the module will not have had GenerateAndroidBuildActions() called on it to initialize the data structures that AndroidMk() expects to exist. Check module.Enabled() before generating IDE info. Fixes: 129089976 Test: SOONG_COLLECT_JAVA_DEPS=true m nothing Change-Id: Icd79088c532c1842801f2bf89d92bc1a67109936
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions