Merge "Soong: Read Android.soong.mk if skipping Android.mk" am: ea71c96894
am: b8759f4f4b
* commit 'b8759f4f4b060fe9c4dc60fa6d786949b81f4ca0':
Soong: Read Android.soong.mk if skipping Android.mk
Change-Id: Ibc2622b8292cb33270fe89ee8fcae4cdeb6b60c9
This commit is contained in:
commit
18a2229bab
1 changed files with 4 additions and 1 deletions
|
@ -144,7 +144,10 @@ ifeq ($(USE_SOONG),true)
|
|||
define filter-soong-makefiles
|
||||
$(foreach mk,$(1),\
|
||||
$(if $(wildcard $(patsubst %/Android.mk,%/Android.bp,$(mk))),\
|
||||
$(info skipping $(mk) ...),\
|
||||
$(if $(wildcard $(patsubst %/Android.mk,%/Android.soong.mk,$(mk))),\
|
||||
$(info skipping $(mk), but including Android.soong.mk ...)\
|
||||
$(patsubst %/Android.mk,%/Android.soong.mk,$(mk)),\
|
||||
$(info skipping $(mk) ...)),\
|
||||
$(mk)))
|
||||
endef
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue