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

Commit 3efa8df4 authored by Cole Faust's avatar Cole Faust
Browse files

Don't search for special .config files

After doing some code-searching, I'm pretty sure this code path is
unused. Finding files that are otherwised unreferenced in the makefiles/
blueprint files is often very surprising behavior, remove it.

Modules should use soong's extra_test_configs property if they need
to use other test configs.

Bug: 396761822
Test: Presubmits
Change-Id: I13b0f4d84882fb2b6a8f0a34d2e586f80327bc56
parent a7fa1e1a
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -861,13 +861,6 @@ else
      $(eval my_compat_dist_config_$(suite) += $(foreach dir, $(call compatibility_suite_dirs,$(suite)), \
        $(LOCAL_PATH)/DynamicConfig.xml:$(dir)/$(LOCAL_MODULE).dynamic)))
  endif

  ifneq (,$(wildcard $(LOCAL_PATH)/$(LOCAL_MODULE)_*.config))
  $(foreach extra_config, $(wildcard $(LOCAL_PATH)/$(LOCAL_MODULE)_*.config), \
    $(foreach suite, $(LOCAL_COMPATIBILITY_SUITE), \
      $(eval my_compat_dist_config_$(suite) += $(foreach dir, $(call compatibility_suite_dirs,$(suite)), \
        $(extra_config):$(dir)/$(notdir $(extra_config))))))
  endif
endif # $(my_prefix)$(LOCAL_MODULE_CLASS)_$(LOCAL_MODULE)_compat_files