Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a059c713 authored by Sundong Ahn's avatar Sundong Ahn
Browse files

Support java sdk libraries

Sdk addon has been allowed for libraries built with Android.mk. But some
of the libraries included in the Sdk addon should be built with
java_sdk_library. module-stubs-files function is modified for supporting
java_sdk_library modules.

Bug:77577799
Test: make -j
Change-Id: If289e5aa5b5016901ff9b69da8fc7f7d8138a456
parent eb0a09ac
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -657,7 +657,8 @@ endef
###########################################################
###########################################################


define module-stubs-files
define module-stubs-files
$(foreach module,$(1),$(ALL_MODULES.$(module).STUBS))
$(foreach module,$(1),$(if $(filter $(module),$(JAVA_SDK_LIBRARIES)),\
$(call java-lib-files,$(module).stubs),$(ALL_MODULES.$(module).STUBS)))
endef
endef


###########################################################
###########################################################