зеркало из 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 |
||
---|---|---|
.. | ||
annotationProcessors | ||
autoconf | ||
build-clang | ||
clang-plugin | ||
compare-mozconfig | ||
docs | ||
macosx | ||
mobile | ||
moz.configure | ||
package/mac_osx | ||
pgo | ||
pymake | ||
release | ||
sanitizers | ||
unix | ||
util | ||
valgrind | ||
win32 | ||
win64 | ||
.gdbinit_python.in | ||
.lldbinit.in | ||
Makefile.in | ||
__init__.py | ||
appini_header.py | ||
application.ini.in | ||
automation-build.mk | ||
automation.py.in | ||
binary-location.mk | ||
buildconfig.py | ||
cargo-linker | ||
checksums.py | ||
defines.sh | ||
dumbmake-dependencies | ||
gecko_templates.mozbuild | ||
gen_test_backend.py | ||
gen_test_packages_manifest.py | ||
genrc.sh | ||
gyp.mozbuild | ||
gyp_base.mozbuild | ||
mach_bootstrap.py | ||
moz-automation.mk | ||
moz.build | ||
mozconfig.artifact | ||
mozconfig.automation | ||
mozconfig.cache | ||
mozconfig.clang-cl | ||
mozconfig.common | ||
mozconfig.common.override | ||
mozconfig.rust | ||
mozconfig.vs-common | ||
mozconfig.win-common | ||
prebuilt-interfaces.manifest | ||
qemu-wrap | ||
rebuild-backend.mk | ||
sccache.mk | ||
subconfigure.py | ||
submit_telemetry_data.py | ||
telemetry-schema.json | ||
templates.mozbuild | ||
test_templates.mozbuild | ||
update-settings.ini | ||
upload.py | ||
variables.py | ||
virtualenv_packages.txt | ||
windows_toolchain.py |