Build ART's Checker tool with an embedded launcher.

Making this Python script self-contained may help with some Checker
test failures seen in continuous testing on ATP.

Test: atest --test-mapping art:presubmit
Bug: 236120431
Bug: 240276270
Change-Id: Iad5824001a738e6610ca2292a71bd10a0968c21c
diff --git a/tools/Android.bp b/tools/Android.bp
index b7f5c1b..7ffa672 100644
--- a/tools/Android.bp
+++ b/tools/Android.bp
@@ -97,23 +97,3 @@
         },
     },
 }
-
-python_binary_host {
-    name: "art-run-test-checker",
-    srcs: [
-        "checker/**/*.py",
-    ],
-    main: "checker/checker.py",
-    version: {
-        py2: {
-            enabled: false,
-        },
-        py3: {
-            enabled: true,
-        },
-    },
-    test_suites: [
-        "general-tests",
-        "mts-art",
-    ],
-}
diff --git a/tools/checker/Android.bp b/tools/checker/Android.bp
new file mode 100644
index 0000000..4c19826
--- /dev/null
+++ b/tools/checker/Android.bp
@@ -0,0 +1,36 @@
+//
+// Copyright (C) 2022 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+python_binary_host {
+    name: "art-run-test-checker",
+    srcs: [
+        "**/*.py",
+    ],
+    main: "checker.py",
+    version: {
+        py2: {
+            enabled: false,
+        },
+        py3: {
+            enabled: true,
+            embedded_launcher: true,
+        },
+    },
+    test_suites: [
+        "general-tests",
+        "mts-art",
+    ],
+}