Fix makefile include hierarchy
TARGET module android.hardware.media.c2@1.0-service_32 requires non-existent: codec2.vendor.base.policy
The makefile defining codec2.vendor.base.policy is not included by make.
all-makefiles-under only search for makefiles in the immediate subdirs.
Use first-makefiles-under to search for sub-makefiles so that
frameworks/av/media/codec2/hidl/services/Android.mk is included.
Bug: 7456955
Test: TH
Change-Id: I304236c978c738f2a6fc6a5e6b4ce89e71d27487
diff --git a/media/codec2/Android.mk b/media/codec2/Android.mk
index 82d739f..17f28ff 100644
--- a/media/codec2/Android.mk
+++ b/media/codec2/Android.mk
@@ -45,4 +45,4 @@
.PHONY: docs-all
docs-all: docs-api docs-internal
-include $(call all-makefiles-under,$(call my-dir))
+include $(call first-makefiles-under,$(call my-dir))