Add module type information to make modules.

To be paired with $(call record-module-type)

Bug: 324465531
Test: CIs
Change-Id: Ie1649093e299c43a2642fb9d27a0a56b1c8e40c1
This commit is contained in:
Wei Li
2024-06-17 14:32:45 -07:00
parent a96b36bd9f
commit 0762f5f02a
19 changed files with 39 additions and 0 deletions

View File

@@ -88,3 +88,5 @@ endif # LOCAL_UNCOMPRESS_DEX
$(eval $(call copy-one-file,$(common_javalib.jar),$(LOCAL_BUILT_MODULE)))
endif # !LOCAL_IS_STATIC_JAVA_LIBRARY
$(if $(my_register_name),$(eval ALL_MODULES.$(my_register_name).MAKE_MODULE_TYPE:=JAVA_LIBRARY))