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

Commit 0be6907b authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Identify non-local EXPORT_C_INCLUDE_DIRS in soong_to_convert

Soong only supports exporting include directories under the current
directory. So bring non-local directories up as a potential problem in
soong_to_convert.txt

Test: m -j $OUT/soong_to_convert.txt, inspect
Change-Id: I7a15b92e10a1d8b8d3496c6f0529a0d0824f301e
parent e26036ad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1805,6 +1805,10 @@ endif
$(LOCAL_BUILT_MODULE) : | $(export_includes) $(my_link_type)

ifneq ($(LOCAL_MODULE_MAKEFILE),$(SOONG_ANDROID_MK))
ifneq (,$(filter-out $(LOCAL_PATH)/%,$(my_export_c_include_dirs)))
my_soong_problems += non_local__export_c_include_dirs
endif

SOONG_CONV.$(LOCAL_MODULE).PROBLEMS := \
    $(SOONG_CONV.$(LOCAL_MODULE).PROBLEMS) $(my_soong_problems)
SOONG_CONV.$(LOCAL_MODULE).DEPS := \