blob: 72826bbb89c4fce81c906fb81d98054add10df4d [file] [log] [blame]
Pawan Wagh10ff6992024-06-01 01:48:16 +00001// 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
Pawan Wagh90215262024-06-05 18:50:39 +000020android_test {
Pawan Wagh10ff6992024-06-01 01:48:16 +000021 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",
Pawan Wagh10ff6992024-06-01 01:48:16 +000036 libs: [
Jihoon Kang9b946d22024-08-30 00:29:46 +000037 "android.test.runner.stubs.system",
38 "android.test.base.stubs.system",
Pawan Wagh10ff6992024-06-01 01:48:16 +000039 ],
40}
41
42java_test_host {
43 name: "Enable16KbTest",
44 // Include all test java files
45 srcs: ["src/**/*.java"],
46 static_libs: [
47 "junit",
48 "platform-test-annotations",
49 "truth",
50 ],
51 libs: [
52 "tradefed",
53 "compatibility-host-util",
54 "compatibility-tradefed",
55 ],
Cole Faust66c5be92024-10-22 16:30:59 -070056 device_common_data: [
Pawan Wagh10ff6992024-06-01 01:48:16 +000057 ":test_16kb_app",
58 ],
Julien Despreze4087bf2024-06-24 20:26:19 +000059 test_suites: ["general-tests"],
Pawan Wagh10ff6992024-06-01 01:48:16 +000060 test_config: "AndroidTest.xml",
61}