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 20python_defaults { 21 name: "RangingMultiDevicePythonDefaults", 22 libs: [ 23 "mobly", 24 ], 25 test_suites: [ 26 //"cts", 27 "general-tests", 28 ], 29 version: { 30 py3: { 31 embedded_launcher: true, 32 }, 33 }, 34} 35 36python_test_host { 37 name: "MultiDeviceRangingTestCases", 38 main: "RangingManagerTests/ranging_manager_tests.py", 39 srcs: [ 40 "RangingManagerTests/ranging_manager_tests.py", 41 "lib/*.py", 42 ], 43 test_config: "RangingManagerTests/AndroidTest.xml", 44 test_options: { 45 unit_test: false, 46 }, 47 device_common_data: [ 48 // Package the snippet with the mobly test 49 ":bluetooth_multi_devices_snippet", 50 ":ranging_snippet", 51 ":uwb_snippet", 52 "README.md", 53 ], 54 defaults: ["RangingMultiDevicePythonDefaults"], 55} 56