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: "GenericRangingMultiDevicePythonDefaults", 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: "MultiDeviceRangingTestCase_Uwb", 38 main: "uwb/uwb_tests.py", 39 srcs: [ 40 "uwb/uwb_tests.py", 41 "uwb/uwb_ranging_params.py", 42 "lib/ranging_base_test.py", 43 "lib/generic_ranging_decorator.py", 44 "test_utils/uwb_test_utils.py", 45 ], 46 test_config: "uwb/AndroidTest.xml", 47 test_options: { 48 unit_test: false, 49 }, 50 data: [ 51 // Package the snippet with the mobly test 52 ":generic_ranging_snippet", 53 "README.md", 54 ], 55 defaults: ["GenericRangingMultiDevicePythonDefaults"], 56} 57