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 https://android-build.googleplex.com/builds/forrest/run/L36400000795517256
Fix: 176106448
Change-Id: I9b571ed9740796a4913179084f8e4a69d73f8c71
Merged-In: I9b571ed9740796a4913179084f8e4a69d73f8c71
7 files changed
tree: d07ef7837a14f33f067c55dc6fd20fdb752db183
  1. config/
  2. harness/
  3. instrumentation/
  4. integration_tests/
  5. pylib/
  6. tools/
  7. Android.bp
  8. PREUPLOAD.cfg
  9. pylintrc
  10. README.md
README.md

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.