Generate targets for device tests in Bazel mode

Create device test targets in the Bazel workspace for all device-driven tests and their dependencies. Note that this feature is disabled by default and requires passing the `--experimental-device-driven-test` flag on the Atest command line.

Test: atest-src atest_unittests --host --bazel-mode
Test: atest-src atest_unittests --host --bazel-mode --experimental-device-driven-test
Bug: 220263783
Change-Id: Ia92a893a5458bc19691ccf7c12ec5e1072428b83
3 files changed