Revert "Revert "Revert "Create lists of projects to share per dist target"""
This reverts commit 82040d9882bdd30e06ae2f71510089a48027152a.
Reason for revert: Advised to switch to using TARGET_BUILD_APPS
Change-Id: If56a1fceb5da66b90b7b0ec2275ec429661515b4
diff --git a/core/notice_files.mk b/core/notice_files.mk
index cbfcaa4..84523af 100644
--- a/core/notice_files.mk
+++ b/core/notice_files.mk
@@ -125,7 +125,7 @@
module_license_metadata :=
ifdef my_register_name
- module_license_metadata := $(call local-meta-intermediates-dir)/$(my_register_name).meta_lic
+ module_license_metadata := $(call local-intermediates-dir)/$(my_register_name).meta_lic
$(foreach target,$(ALL_MODULES.$(my_register_name).BUILT) $(ALL_MODULES.$(my_register_name).INSTALLED) $(foreach bi,$(LOCAL_SOONG_BUILT_INSTALLED),$(call word-colon,1,$(bi))) \
$(my_test_data) $(my_test_config),\