Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 57d9799d authored by John Wu's avatar John Wu
Browse files

[HostStubGen] Make HSG more modularize

In preparation for adding class processing to the ravenizer tool to
apply several bytecode transformations available in the main HSG tool,
update the code base to be more modular.

- Make hoststubgen-lib self contained.
- Extract the bytecode transformation logic into its own class
  HostStubGenClassProcessor.
- Create BaseOptions to standardize commandline parsing and allow option
  inheritance to process options that can be shared across tools.
- Make hoststubgen fully a client of hoststubgen-lib to enforce
  encapsulation within the codebase.

With these changes in place, it would be easier to update ravenizer to
directly utilize HostStubGenClassProcessor in a follow-up CL.

Bug: 397498134
Flag: EXEMPT host side change only
Test: f/b/r/scripts/run-ravenwood-tests.sh
Change-Id: Ib46e322a9ddd22375b598339d36b9ed71325dc16
parent 43f10ef5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment