From 64eaddf6c891accaf137436aefa4216b26523d21 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 2 May 2019 10:50:55 -0700 Subject: [PATCH] BUILD_(HOST|TARGET)_TEST_CONFIG errors by default They've been warnings for two weeks, with no reports of problems, and no warnings in the logs that I can search. Fixes: 130723115 Fixes: 130734993 Test: treehugger Change-Id: I61b8b5f35905d45fa7cab9914580ae6c005e83dc --- Deprecation.md | 4 ++-- core/deprecation.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Deprecation.md b/Deprecation.md index 6468f464f3..01825b2f8c 100644 --- a/Deprecation.md +++ b/Deprecation.md @@ -14,8 +14,8 @@ have any problems converting, please contact us via: | Module type | State | | -------------------------- | --------- | -| `BUILD_HOST_TEST_CONFIG` | Warning | -| `BUILD_TARGET_TEST_CONFIG` | Warning | +| `BUILD_HOST_TEST_CONFIG` | Error | +| `BUILD_TARGET_TEST_CONFIG` | Error | | `BUILD_*` | Available | ## Module Type Deprecation Process diff --git a/core/deprecation.mk b/core/deprecation.mk index cbc938ac34..9d57527d95 100644 --- a/core/deprecation.mk +++ b/core/deprecation.mk @@ -37,13 +37,13 @@ AVAILABLE_BUILD_MODULE_TYPES :=$= \ # relevant BUILD_BROKEN_USES_BUILD_* variables, then these would move to # DEFAULT_ERROR_BUILD_MODULE_TYPES. DEFAULT_WARNING_BUILD_MODULE_TYPES :=$= \ - BUILD_HOST_TEST_CONFIG \ - BUILD_TARGET_TEST_CONFIG \ # These are BUILD_* variables that are errors to reference, but you can set # BUILD_BROKEN_USES_BUILD_* in your BoardConfig.mk in order to turn them back # to warnings. DEFAULT_ERROR_BUILD_MODULE_TYPES :=$= \ + BUILD_HOST_TEST_CONFIG \ + BUILD_TARGET_TEST_CONFIG \ # These are BUILD_* variables that are always errors to reference. # Setting the BUILD_BROKEN_USES_BUILD_* variables is also an error.