From 22f69e10941d719a666c8589f26087b3b4ba77f2 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Fri, 14 Jun 2019 09:37:42 -0700 Subject: [PATCH] Start the deprecation of BUILD_HOST_STATIC_LIBRARY There aren't any common users of this left on AOSP, and only a few internally. Test: treehugger Change-Id: I37277dbf10aa253ef64ca748f82765d16ae1cf80 --- Deprecation.md | 1 + core/deprecation.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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