Revert "Android JNI: Generate calls to RegisterNatives()"
This reverts commit be11db405efa4b6ce9117877a34abf3bfea911ff.
Reason for revert: breaks VR bot: https://build.chromium.org/p/chromium.fyi/builders/Android%20VR%20Tests/builds/8763
Original change's description:
> Android JNI: Generate calls to RegisterNatives()
>
> Generate registration functions with unique names(package+class). Create a new template to
> generate a header file which calls all registration functions together.
>
> This CL also switches the test targets from using explicit JNI registration (via RegisterNatives()),
> to using implicit JNI registration (just export the symbols and let dalvik look them up lazily).
>
> This switch simplifies things a great deal, as the only reason for using explicit registration is
> to work around a deficiency in the crazy linker, which most test targets don't use.
>
> Design doc: https://docs.google.com/document/d/1pYnceZMuxhpU9u3OAzWLYInV_nqtHKsBFROp927FDXM/edit?usp=sharing
>
> Bug: 683256
> Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
> Change-Id: I31cbfe393c9088233f65f1249285d48ac5571f45
> Reviewed-on: https://chromium-review.googlesource.com/527683
> Reviewed-by: Sergey Ulanov <[email protected]>
> Reviewed-by: Misha Efimov <[email protected]>
> Reviewed-by: Luke Halliwell <[email protected]>
> Reviewed-by: Paweł Hajdan Jr. <[email protected]>
> Reviewed-by: Joe Downing <[email protected]>
> Reviewed-by: Andrew Grieve <[email protected]>
> Reviewed-by: Yaron Friedman <[email protected]>
> Reviewed-by: Scott Violet <[email protected]>
> Reviewed-by: John Budorick <[email protected]>
> Reviewed-by: Richard Coles <[email protected]>
> Commit-Queue: Yipeng Wang <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#482615}
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
Change-Id: Ibbb98c136baaf016a9b26b3e614ca96e8a408c41
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 683256
Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
Reviewed-on: https://chromium-review.googlesource.com/550576
Commit-Queue: Eric Stevenson <[email protected]>
Reviewed-by: Eric Stevenson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#482656}
39 files changed