Add sharding support for module generator

Previously the module generator is implemented as a target preparer. However, a target preparer is executed after the sharding process has finished. The only way to make the generated modules available for sharding without making changes to TradeFed's core code is to disguise this module generator as an instance of IShardableTest and declare it separately in test plan config. This is hacky, and in the long term a TradeFed centered solution is desired. For more details, see go/sharding-hack-for-module-gen.

Test: atest :presubmit
Test: Verified with sharding option in go/forrest-ui
Fix: 176106448
Change-Id: I9b571ed9740796a4913179084f8e4a69d73f8c71
Merged-In: I9b571ed9740796a4913179084f8e4a69d73f8c71
7 files changed
tree: d07ef7837a14f33f067c55dc6fd20fdb752db183
  1. Android.bp
  2. PREUPLOAD.cfg
  4. config/
  5. harness/
  6. instrumentation/
  7. integration_tests/
  8. pylib/
  9. pylintrc
  10. tools/

Android App Compatibility Test Suite (C-Suite)

C-Suite consists of the testing framework and test cases, designed to detect and report app compatibility issues.