tree: 93b2f5177fa0dd378b55f4e4576b96079dd3fcd2 [path history] [tgz]
  1. impl/
  2. __init__.py
  3. readme.md
  4. run.py
  5. run_black_box_tests.py
  6. run_platform_tests.py
  7. run_tests.py
src/cobalt/build/cobalt_archive_content/__cobalt_archive/run/readme.md

Trampoline Readme

Trampoline: An operation which will forward control to a delegate.

Maps f(device_id) -> g(platform, config, device_id)

Trampolines reduce the complexity for invoking cobalt/starboard binaries and tests by reading parameters from the metadata.json file of a Cobalt Archive. The delegate is then run with the full command-line argument set including platform and configuration data. The calling signature is therefore stable and any Cobalt archive can be run the same binaries/tests using the same shell command.

Please see go/cobalt-archive-doc

Example: python __cobalt_archive/run/run_cobalt.py --device_id IP

Could translate into: python starboard/tools/example/app_launcher_client.py -t cobalt --platform linux --config devel --device_id IP