diff --git a/Deprecation.md b/Deprecation.md index 131ec0d11..9378e1acf 100644 --- a/Deprecation.md +++ b/Deprecation.md @@ -19,6 +19,7 @@ have any problems converting, please contact us via: | `BUILD_HOST_FUZZ_TEST` | Error | | `BUILD_HOST_NATIVE_TEST` | Error | | `BUILD_HOST_SHARED_TEST_LIBRARY` | Error | +| `BUILD_HOST_STATIC_LIBRARY` | Warning | | `BUILD_HOST_STATIC_TEST_LIBRARY` | Error | | `BUILD_HOST_TEST_CONFIG` | Error | | `BUILD_NATIVE_BENCHMARK` | Error | diff --git a/core/deprecation.mk b/core/deprecation.mk index f1e198d51..761a9b6e5 100644 --- a/core/deprecation.mk +++ b/core/deprecation.mk @@ -10,7 +10,6 @@ AVAILABLE_BUILD_MODULE_TYPES :=$= \ BUILD_HOST_JAVA_LIBRARY \ BUILD_HOST_PREBUILT \ BUILD_HOST_SHARED_LIBRARY \ - BUILD_HOST_STATIC_LIBRARY \ BUILD_JAVA_LIBRARY \ BUILD_MULTI_PREBUILT \ BUILD_NATIVE_TEST \ @@ -28,6 +27,7 @@ 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_STATIC_LIBRARY \ # 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