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 libs: [ 37 "android.test.runner.stubs.system", 38 "android.test.base.stubs.system", 39 ], 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 ], 56 device_common_data: [ 57 ":test_16kb_app", 58 ], 59 test_suites: ["general-tests"], 60 test_config: "AndroidTest.xml", 61} 62