forked from openkylin/platform_build
rust: Don't install static libraries.
Bug: 168729404 Test: Make no longer attempts to install static libraries. Change-Id: Ifdfd486dfbb0d64e2aeb9738f88c4d4efcb0337a
This commit is contained in:
parent
4dc545879e
commit
3e3d0913a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue