diff options
author | 2024-08-07 17:29:16 -0700 | |
---|---|---|
committer | 2024-08-08 12:02:57 -0700 | |
commit | 70a53bd6cf801d2aeb60e168e9ddf650d9126e5b (patch) | |
tree | 37b9d1e51d2c94502998dda9be84f4e988e10d59 /tools/releasetools/apex_utils.py | |
parent | 70270692d05bbe686543e193a890ca567151f935 (diff) |
Refactor OptimizedBuildTarget and add general-tests optimization
Refactor the OptimizedBuildTarget base class to more simply handle
enabling/disabling build optimizations based on flags. Now all
optimizers (aside from the no-op NullOptimizer will have their enabling
built into the base class, and also necessitate their get_build_targets
and package_outputs functions to be defined in order to not error out.
Add the GeneralTestsOptimizer class as well, unimplemented for now.
Test: atest build_test_suites_test
Bug: 358215235
Change-Id: Ide22c64fc238d754db8d8e76484947401e54e680
Diffstat (limited to 'tools/releasetools/apex_utils.py')
0 files changed, 0 insertions, 0 deletions