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_team: "trendy_team_fwk_uwb", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20soong_config_module_type { 21 name: "custom_android_test", 22 module_type: "android_test", 23 config_namespace: "bootclasspath", 24 bool_variables: [ 25 "release_ranging_stack", 26 ], 27 properties: [ 28 "enabled", 29 ], 30} 31 32custom_android_test { 33 name: "CtsRangingTestCases", 34 soong_config_variables: { 35 release_ranging_stack: { 36 enabled: true, 37 conditions_default: { 38 enabled: false, 39 }, 40 }, 41 }, 42 defaults: [ 43 "cts_defaults", 44 ], 45 // Tag this module as a cts test artifact 46 test_suites: [ 47 "cts", 48 "general-tests", 49 "mts-uwb", 50 "mcts-uwb", 51 ], 52 libs: ["android.test.runner.stubs.system"], 53 static_libs: [ 54 "androidx.test.ext.junit", 55 "ctstestrunner-axt", 56 "compatibility-device-util-axt", 57 "mockito-target-minus-junit4", 58 "ranging_flags_lib", 59 "framework-ranging.impl", 60 "framework-bluetooth.stubs.module_lib", 61 "bluetooth-test-util-lib", 62 "framework-uwb.stubs.module_lib", 63 "framework-wifi.stubs.module_lib", 64 "framework-connectivity.stubs.module_lib", 65 "framework-location.stubs.module_lib", 66 ], 67 srcs: ["src/**/*.java"], 68 platform_apis: true, 69 sdk_version: "module_current", 70 min_sdk_version: "35", 71} 72