// 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_team: "trendy_team_fwk_uwb", default_applicable_licenses: ["Android-Apache-2.0"], } soong_config_module_type { name: "custom_android_test", module_type: "android_test", config_namespace: "bootclasspath", bool_variables: [ "release_ranging_stack", ], properties: [ "enabled", ], } custom_android_test { name: "CtsRangingTestCases", soong_config_variables: { release_ranging_stack: { enabled: true, conditions_default: { enabled: false, }, }, }, defaults: [ "cts_defaults", ], // Tag this module as a cts test artifact test_suites: [ "cts", "general-tests", "mts-uwb", ], libs: ["android.test.runner.stubs.system"], static_libs: [ "androidx.test.ext.junit", "ctstestrunner-axt", "compatibility-device-util-axt", "mockito-target-minus-junit4", "ranging_flags_lib", "framework-ranging.impl", "framework-bluetooth.stubs.module_lib", "bluetooth-test-util-lib", "framework-uwb.stubs.module_lib", "framework-wifi.stubs.module_lib", "framework-connectivity.stubs.module_lib", "framework-location.stubs.module_lib", ], srcs: ["src/**/*.java"], platform_apis: true, sdk_version: "module_current", target_sdk_version: "36", }