зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1191161 - Followup to fix wrong annotation classpath; r=nalexander
Because we switched annoations from gecko-mozglue.jar to constants.jar, we should update the corresponding classpaths when processing annotations during code autogeneration. gecko-mozglue.jar is still needed during the javah step because gecko-browser.jar has a dependency on org.mozilla.gecko.mozglue.JNIObject.
This commit is contained in:
Родитель
01a073b5a2
Коммит
6ad20bb7d0
|
@ -209,7 +209,7 @@ ifdef MOZ_WEBSMS_BACKEND
|
|||
CLASSES_WITH_JNI += org.mozilla.gecko.GeckoSmsManager
|
||||
endif
|
||||
|
||||
jni-stubs.inc: gecko-browser.jar gecko-mozglue.jar gecko-util.jar sync-thirdparty.jar
|
||||
jni-stubs.inc: gecko-browser.jar constants.jar gecko-mozglue.jar gecko-util.jar sync-thirdparty.jar
|
||||
$(JAVAH) -o javah.out -bootclasspath $(JAVA_BOOTCLASSPATH) -classpath $(subst $(NULL) $(NULL),:,$^) $(CLASSES_WITH_JNI)
|
||||
$(PYTHON) $(topsrcdir)/mobile/android/base/jni-generator.py javah.out $@
|
||||
|
||||
|
@ -219,7 +219,7 @@ ANNOTATION_PROCESSOR_JAR_FILES := $(DEPTH)/build/annotationProcessors/annotation
|
|||
# GeneratedJNIWrappers.h and GeneratedJNINatives.h
|
||||
GeneratedJNIWrappers.cpp: $(ANNOTATION_PROCESSOR_JAR_FILES)
|
||||
GeneratedJNIWrappers.cpp: $(ALL_JARS)
|
||||
$(JAVA) -classpath gecko-mozglue.jar:$(JAVA_BOOTCLASSPATH):$(JAVA_CLASSPATH):$(ANNOTATION_PROCESSOR_JAR_FILES) org.mozilla.gecko.annotationProcessors.AnnotationProcessor $(ALL_JARS)
|
||||
$(JAVA) -classpath constants.jar:$(JAVA_BOOTCLASSPATH):$(JAVA_CLASSPATH):$(ANNOTATION_PROCESSOR_JAR_FILES) org.mozilla.gecko.annotationProcessors.AnnotationProcessor $(ALL_JARS)
|
||||
|
||||
manifest := \
|
||||
AndroidManifest.xml.in \
|
||||
|
|
Загрузка…
Ссылка в новой задаче