Despite its naming, LOCAL_IS_STATIC_JAVA_LIBRARY is not intended to be set in module makefiles. It is set and then cleared by build/make/core/static_java_library.mk. I don't think setting it has any effect for BUILD_PREBUILT, you should be able to remove it.
On Wed, Jun 28, 2017 at 7:30 PM, Benq Xier <[email protected]> wrote: > Hi, > Recently I was adding module to the source tree, my .mk contains > > include $(CLEAR_VARS) > LOCAL_MODULE_TAGS := optional > LOCAL_MODULE_CLASS := JAVA_LIBRARIES > LOCAL_MODULE := bmob_sdk > LOCAL_SRC_FILES := libs/test.jar > LOCAL_JACK_FLAGS := -D jack.import.jar.debug-info=false > LOCAL_UNINSTALLABLE_MODULE := true > > LOCAL_IS_STATIC_JAVA_LIBRARY := true > include $(BUILD_PREBUILT) > > However the LOCAL_IS_STATIC_JAVA_LIBRARY var is not cleared and causes the > next module failure build, > may be we miss this in the clear_vars.mk? > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
