Pawan Wagh | 10ff699 | 2024-06-01 01:48:16 +0000 | [diff] [blame] | 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 | |
| 15 | package { |
| 16 | default_applicable_licenses: ["packages_apps_Settings_license"], |
| 17 | default_team: "trendy_team_android_kernel", |
| 18 | } |
| 19 | |
Pawan Wagh | 9021526 | 2024-06-05 18:50:39 +0000 | [diff] [blame] | 20 | android_test { |
Pawan Wagh | 10ff699 | 2024-06-01 01:48:16 +0000 | [diff] [blame] | 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", |
Pawan Wagh | 3aa1405 | 2024-06-10 21:19:27 +0000 | [diff] [blame] | 36 | test_suites: ["device-tests"], |
Pawan Wagh | 10ff699 | 2024-06-01 01:48:16 +0000 | [diff] [blame] | 37 | libs: [ |
Jihoon Kang | 4ae6ead | 2024-08-30 00:29:46 +0000 | [diff] [blame] | 38 | "android.test.runner.stubs.system", |
| 39 | "android.test.base.stubs.system", |
Pawan Wagh | 10ff699 | 2024-06-01 01:48:16 +0000 | [diff] [blame] | 40 | ], |
| 41 | } |
| 42 | |
| 43 | java_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 | ], |
Pawan Wagh | 3aa1405 | 2024-06-10 21:19:27 +0000 | [diff] [blame] | 60 | test_suites: ["device-tests"], |
Pawan Wagh | 10ff699 | 2024-06-01 01:48:16 +0000 | [diff] [blame] | 61 | test_config: "AndroidTest.xml", |
| 62 | } |