Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jni_generator: Refactor parsing logic
The main changes are: * Moves parsing of .java files into "parse.py" * Parsing of javap remains in jni_generator.py for now. * Introduces a "JavaClass" class, to model class references * Moves ProxyHelpers into a separate "proxy.py" file. * Makes JNIFromJavaP and JNIFromJavaSource both have a "GetContent()", which simplifies main() logic a bit. * Teaches TypeResolver about importing nesting classes Bug: 1406605 Change-Id: I99d2efe02353967191ef09ce0b8a7dea5737d44d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4545780 Commit-Queue: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Peter Wen <wnwen@chromium.org> Auto-Submit: Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/main@{#1146645}
- Loading branch information