1// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: ["packages_apps_Settings_license"],
17    default_team: "trendy_team_android_kernel",
18}
19
20android_test {
21    name: "test_16kb_app",
22    srcs: ["test_16kb_app/src/**/*.java"],
23    manifest: "test_16kb_app/test_16kb_app.xml",
24    static_libs: [
25        "androidx.test.ext.junit",
26        "androidx.test.rules",
27        "androidx.test.uiautomator_uiautomator",
28        "platform-test-annotations",
29        "settings-helper",
30        "sysui-helper",
31        "truth",
32        "flag-junit",
33    ],
34    platform_apis: true,
35    certificate: "platform",
36    test_suites: ["device-tests"],
37    libs: [
38        "android.test.runner",
39        "android.test.base",
40    ],
41}
42
43java_test_host {
44    name: "Enable16KbTest",
45    // Include all test java files
46    srcs: ["src/**/*.java"],
47    static_libs: [
48        "junit",
49        "platform-test-annotations",
50        "truth",
51    ],
52    libs: [
53        "tradefed",
54        "compatibility-host-util",
55        "compatibility-tradefed",
56    ],
57    data: [
58        ":test_16kb_app",
59    ],
60    test_suites: ["device-tests"],
61    test_config: "AndroidTest.xml",
62}
63