Merge "rust: Don't install static libraries." am: b8f47c50a6
Original change: https://android-review.googlesource.com/c/platform/build/+/1431731 Change-Id: I7561cb6509a34204d32393c04d108e508ed2e1ec
This commit is contained in:
@@ -28,9 +28,9 @@ else
|
|||||||
$(call pretty-error,Unsupported LOCAL_MODULE_$(my_prefix)ARCH=$(LOCAL_MODULE_$(my_prefix)ARCH))
|
$(call pretty-error,Unsupported LOCAL_MODULE_$(my_prefix)ARCH=$(LOCAL_MODULE_$(my_prefix)ARCH))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Don't install rlib/proc_macro libraries.
|
# Don't install static/rlib/proc_macro libraries.
|
||||||
ifndef LOCAL_UNINSTALLABLE_MODULE
|
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
|
LOCAL_UNINSTALLABLE_MODULE := true
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user