diff options
| author | 2025-03-04 05:40:08 +0000 | |
|---|---|---|
| committer | 2025-03-04 05:40:08 +0000 | |
| commit | 57d9799dcbabacf45968a30da9e19c357ae9b5ea (patch) | |
| tree | 7d5e8392b5c3aae2e3a929ce59e4666f232846d5 /libs/androidfw/FileStream.cpp | |
| parent | 43f10ef500c92daaddccd2b5950fb94e3d9ba281 (diff) | |
[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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions