[autotest] Translate board name in build target for certain Android boards

This is to support certain Android boards that use different board name in
build target.

BUG=b:32579855
TEST=local run, unittest
/usr/local/autotest/site_utils/suite_scheduler/suite_scheduler.py \
      -d /usr/local/autotest/logs -f /usr/local/autotest/dshi/test_ss_2.ini  \
      -e nightly -i git_nyc-mr1-release/seed_l8150-userdebug/3405385  \
      -r /tmp/_autotmp_0pjXWQ_suite_scheduler -o android

$ cat dshi/test_ss_2.ini
[Android_Bluetooth_Nightly_Seed]
run_on: nightly
hour: 4
suite: android_bluetooth
os_type: android
branches: git_nyc-mr1-release
boards: gm4g_sprout-2
targets: seed_l8150-userdebug
pool: suites
no_delay: True

also make sure boards doesn't need the mapping still works.

Change-Id: If35d8bfc4b2c7f2ea90173efb1baf16a79407801
Reviewed-on: https://chromium-review.googlesource.com/407845
Commit-Ready: Dan Shi <dshi@google.com>
Tested-by: Dan Shi <dshi@google.com>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Kris Rambish <krisr@chromium.org>
diff --git a/site_utils/suite_scheduler/task.py b/site_utils/suite_scheduler/task.py
index 29c03ec..94dc571 100644
--- a/site_utils/suite_scheduler/task.py
+++ b/site_utils/suite_scheduler/task.py
@@ -294,6 +294,9 @@
             for target in lc_targets.split(','):
                 board_name, _ = server_utils.parse_launch_control_target(
                         target.strip())
+                # Translate board name in build target to the actual board name.
+                board_name = server_utils.ANDROID_TARGET_TO_BOARD_MAP.get(
+                        board_name, board_name)
                 boards += '%s,' % board_name
             boards = boards.strip(',')