зеркало из https://github.com/mozilla/gecko-dev.git
6723035d5c
Instead of specifying a class name per line, the new format uses the .ini format, with each section name specifying the class, and each property name specifying a member of the class. WrapForJNI options can be specified with each class or member. Comments can be specified with ';' or '#'. For example, # Generate bindings for Bundle using default options: [android.os.Bundle] # Generate bindings for Bundle using class options: [android.os.Bundle = exceptionMode:nsresult] # Generate bindings for Bundle using method options: [android.os.Bundle] putInt = stubName:PutInteger # Generate bindings for Bundle using class options with method override: # (note that all options are overriden at the same time.) [android.os.Bundle = exceptionMode:nsresult] # putInt will have stubName "PutInteger", and exceptionMode of "abort" putInt = stubName:PutInteger # putChar will have stubName "PutCharacter", and exceptionMode of "nsresult" putChar = stubName:PutCharacter, exceptionMode:nsresult # Overloded methods can be specified using its signature [android.os.Bundle] # Skip the copy constructor <init>(Landroid/os/Bundle;)V = skip:true # Generic member types can be specified [android.view.KeyEvent = skip:true] # Skip everything except fields <field> = skip:false # Skip everything except putInt and putChar [android.os.Bundle = skip:true] putInt = skip:false putChar = # Avoid conflicts in native bindings [android.os.Bundle] # Bundle(PersistableBundle) native binding can conflict with Bundle(ClassLoader) <init>(Landroid/os/PersistableBundle;)V = stubName:NewFromPersistableBundle # Generate a getter instead of a literal for certain runtime constants [android.os.Build$VERSION = skip:true] SDK_INT = noLiteral:true |
||
---|---|---|
.. | ||
classloader | ||
utils | ||
AnnotationInfo.java | ||
AnnotationProcessor.java | ||
CodeGenerator.java | ||
Makefile.in | ||
SDKProcessor.java | ||
moz.build |