Android S Beta 2 (SPB2.210513.007)
Enables --host flag for Local TF runs

The cc_tf_test_launcher now checks the next positional argument for a
--host flag and adds the corresponding flags to the TradeFed execution.
This flag approach mimics how ATest currently handles host/device tests.

Test: Manual testing, through the following steps:

bazel run //build/pesto/experiments/prepare_bazel_test_env -- generate

bazel run //build/pesto/experiments/prepare_bazel_test_env -- sync

(For host side test)
bazel test //platform_testing/tests/example/native:hello_world_test
--test_output=all --test_arg=--host

(For device side test, requiring a device connected and lunch selecting
the correct build target)
bazel test //platform_testing/tests/example/native:hello_world_test
--test_output=all

Change-Id: I3b92a2551a1a9d272c45cd5047f5a764d8a849c7
2 files changed
tree: 8649d023cca68532982dcb0cc432054efeca6c7e
  1. experiments/
  2. OWNERS