| // Copyright (C) 2024 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. |
| |
| package { |
| default_applicable_licenses: ["packages_apps_Settings_license"], |
| default_team: "trendy_team_android_kernel", |
| } |
| |
| android_test { |
| name: "test_16kb_app", |
| srcs: ["test_16kb_app/src/**/*.java"], |
| manifest: "test_16kb_app/test_16kb_app.xml", |
| static_libs: [ |
| "androidx.test.ext.junit", |
| "androidx.test.rules", |
| "androidx.test.uiautomator_uiautomator", |
| "platform-test-annotations", |
| "settings-helper", |
| "sysui-helper", |
| "truth", |
| "flag-junit", |
| ], |
| platform_apis: true, |
| certificate: "platform", |
| test_suites: ["device-tests"], |
| libs: [ |
| "android.test.runner", |
| "android.test.base", |
| ], |
| } |
| |
| java_test_host { |
| name: "Enable16KbTest", |
| // Include all test java files |
| srcs: ["src/**/*.java"], |
| static_libs: [ |
| "junit", |
| "platform-test-annotations", |
| "truth", |
| ], |
| libs: [ |
| "tradefed", |
| "compatibility-host-util", |
| "compatibility-tradefed", |
| ], |
| data: [ |
| ":test_16kb_app", |
| ], |
| test_suites: ["device-tests"], |
| test_config: "AndroidTest.xml", |
| } |