Add infrastructure for deprecating module types
Also start the deprecation for BUILD_HOST_TEST_CONFIG and
BUILD_TARGET_TEST_CONFIG, which have no users.
Bug: 130720555
Bug: 130723115
Bug: 130734993
Test: treehugger
Test: Add entries to DEFAULT_ERROR / OBSOLETE to manually test behavior
Change-Id: Icfdff43a29b6512494d44b9be11d178333505010
diff --git a/core/config.mk b/core/config.mk
index 14bf358..57d22ae 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -174,6 +174,8 @@
BUILD_HOST_TEST_CONFIG :=$= $(BUILD_SYSTEM)/host_test_config.mk
BUILD_TARGET_TEST_CONFIG :=$= $(BUILD_SYSTEM)/target_test_config.mk
+include $(BUILD_SYSTEM)/deprecation.mk
+
# ###############################################################
# Parse out any modifier targets.
# ###############################################################