aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2019-05-02 10:50:55 -0700
committerDan Willemsen <dwillemsen@google.com>2019-05-02 22:17:12 +0000
commit64eaddf6c891accaf137436aefa4216b26523d21 (patch)
treea51170d9e47a9a9c6ecbc14d492dd93fafd7a462
parentc23e013814f53e3b651b29614cd93718d79a711b (diff)
downloadbuild-64eaddf6c891accaf137436aefa4216b26523d21.tar.gz
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
-rw-r--r--Deprecation.md4
-rw-r--r--core/deprecation.mk4
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.