summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/main.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/main.mk b/core/main.mk
index ebec885869..8c290459ba 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -1639,6 +1639,10 @@ droidcore: $(filter $(HOST_OUT_ROOT)/%,$(modules_to_install)) \
# dist_files only for putting your library into the dist directory with a full build.
.PHONY: dist_files
+ifeq ($(SOONG_COLLECT_JAVA_DEPS), true)
+ $(call dist-for-goals, dist_files, $(SOONG_OUT_DIR)/module_bp_java_deps.json)
+endif
+
.PHONY: apps_only
ifneq ($(TARGET_BUILD_APPS),)
# If this build is just for apps, only build apps and not the full system by default.