commit | 60d72c0b63123eb70057a9353b16dbabff723e9f | [log] [tgz] |
---|---|---|
author | Aiden Benner <abenner@google.com> | Fri Nov 16 22:08:34 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 16 22:08:34 2018 |
tree | 3a46809cc800ce076344474cff8e9bc7c1faaeb2 | |
parent | 6efc7a2bf8b43d5727cee986c806c0593f41c6c7 [diff] |
Add helpers to generate GEN_JNI.java during JNI registration GEN_JNI contains the actual native method declaration that corresponds to a method in an @JniNatives annotation. This change adds helpers to generate GEN_JNI with all proxy natives that are being registered in a generated registration header file. - Also fixes bug where hashed method names were escaped one too many times. - Adds better tests for special JNI type cases. Change-Id: Ie705d0cf55233c513ad4bc32024212454115bcba Bug: 898261 Reviewed-on: https://chromium-review.googlesource.com/c/1315687 Commit-Queue: Aiden Benner <abenner@google.com> Reviewed-by: agrieve <agrieve@chromium.org> Reviewed-by: Eric Stevenson <estevenson@chromium.org> Cr-Commit-Position: refs/heads/master@{#608974}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .