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
This commit is contained in:
Sundong Ahn 2018-06-04 14:14:18 +09:00
parent eb0a09acf3
commit a059c71348
1 changed files with 2 additions and 1 deletions

View File

@ -657,7 +657,8 @@ endef
###########################################################
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
###########################################################