Convert tests/leanbackjank/**/Android.mk files to Android.bp.
tests/leanbackjank/app/AndroidManifest.xml had to be changed, too.
See build/soong/README.md for more information.
Bug: 122332514
Test: atest CtsLeanbackJankTestCases
Change-Id: I4fb0c5b3e6a3d38746d2a5a82ec9305afc2a43d8
diff --git a/tests/leanbackjank/Android.bp b/tests/leanbackjank/Android.bp
new file mode 100644
index 0000000..78ff57e
--- /dev/null
+++ b/tests/leanbackjank/Android.bp
@@ -0,0 +1,36 @@
+// Copyright (C) 2015 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.
+
+android_test {
+ name: "CtsLeanbackJankTestCases",
+ defaults: ["cts_defaults"],
+ srcs: [
+ "src/**/*.java",
+ "app/src/android/leanbackjank/app/IntentKeys.java",
+ ],
+ sdk_version: "test_current",
+ // Tag this module as a cts test artifact
+ test_suites: [
+ "cts",
+ "vts",
+ "general-tests",
+ ],
+ static_libs: [
+ "compatibility-device-util-axt",
+ "ctstestrunner-axt",
+ "ub-uiautomator",
+ "androidx.test.janktesthelper",
+ ],
+ libs: ["android.test.base.stubs"],
+}