From 3e3d0913a50448202e7e68e2e767e6778837f291 Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Fri, 18 Sep 2020 14:28:36 -0400 Subject: [PATCH] rust: Don't install static libraries. Bug: 168729404 Test: Make no longer attempts to install static libraries. Change-Id: Ifdfd486dfbb0d64e2aeb9738f88c4d4efcb0337a --- core/soong_rust_prebuilt.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/soong_rust_prebuilt.mk b/core/soong_rust_prebuilt.mk index de6bafdc7e..b54f300ff9 100644 --- a/core/soong_rust_prebuilt.mk +++ b/core/soong_rust_prebuilt.mk @@ -28,9 +28,9 @@ else $(call pretty-error,Unsupported LOCAL_MODULE_$(my_prefix)ARCH=$(LOCAL_MODULE_$(my_prefix)ARCH)) endif -# Don't install rlib/proc_macro libraries. +# Don't install static/rlib/proc_macro libraries. ifndef LOCAL_UNINSTALLABLE_MODULE - ifneq ($(filter RLIB_LIBRARIES PROC_MACRO_LIBRARIES,$(LOCAL_MODULE_CLASS)),) + ifneq ($(filter STATIC_LIBRARIES RLIB_LIBRARIES PROC_MACRO_LIBRARIES,$(LOCAL_MODULE_CLASS)),) LOCAL_UNINSTALLABLE_MODULE := true endif endif