DescriptionAndroid: Don't require RegisterNatives if there are none
Nowadays the calls up to Java are lazily resolved, so
RegisterNatives() actually does again what the name implies.
Allow not calling RegisterNatives() if there are no native methods
by marking it with the 'unused' attribute.
In follow-up patches all references will be removed so that the
generator can stop emiting the NOP functions where there are no
native methods.
This makes it more straightforward to design one-way JNI interfaces.
BUG=603936, 617313, 617324
Committed: https://crrev.com/dbed3229058fc046539cd20cc546a740179d1fc4
Cr-Commit-Position: refs/heads/master@{#409221}
Patch Set 1 #
Total comments: 2
Dependent Patchsets: Messages
Total messages: 15 (10 generated)
|