Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5b75633 authored by Ivan Lozano's avatar Ivan Lozano Committed by Automerger Merge Worker
Browse files

Merge "rust: Don't install static libraries." am: b8f47c50 am: 48d2472b...

Merge "rust: Don't install static libraries." am: b8f47c50 am: 48d2472b am: 08b98eb8 am: 8ba9622c

Original change: https://android-review.googlesource.com/c/platform/build/+/1431731

Change-Id: I3c2ad2f2e6f06d038844f8a703d5d3ac789ccf26
parents 7837b542 8ba9622c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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