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 | 10ff699 | 2024-06-01 01:48:16 +0000 | [diff] [blame] | 36 | libs: [ |
Jihoon Kang | 9b946d2 | 2024-08-30 00:29:46 +0000 | [diff] [blame] | 37 | "android.test.runner.stubs.system", |
| 38 | "android.test.base.stubs.system", |
Pawan Wagh | 10ff699 | 2024-06-01 01:48:16 +0000 | [diff] [blame] | 39 | ], |
| 40 | } |
| 41 | |
| 42 | java_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 Faust | 66c5be9 | 2024-10-22 16:30:59 -0700 | [diff] [blame] | 56 | device_common_data: [ |
Pawan Wagh | 10ff699 | 2024-06-01 01:48:16 +0000 | [diff] [blame] | 57 | ":test_16kb_app", |
| 58 | ], |
Julien Desprez | e4087bf | 2024-06-24 20:26:19 +0000 | [diff] [blame] | 59 | test_suites: ["general-tests"], |
Pawan Wagh | 10ff699 | 2024-06-01 01:48:16 +0000 | [diff] [blame] | 60 | test_config: "AndroidTest.xml", |
| 61 | } |