1*7eba2f3bSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*7eba2f3bSAndroid Build Coastguard Worker<!-- Copyright (C) 2024 The Android Open Source Project 3*7eba2f3bSAndroid Build Coastguard Worker 4*7eba2f3bSAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*7eba2f3bSAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*7eba2f3bSAndroid Build Coastguard Worker You may obtain a copy of the License at 7*7eba2f3bSAndroid Build Coastguard Worker 8*7eba2f3bSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*7eba2f3bSAndroid Build Coastguard Worker 10*7eba2f3bSAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*7eba2f3bSAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*7eba2f3bSAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*7eba2f3bSAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*7eba2f3bSAndroid Build Coastguard Worker limitations under the License. 15*7eba2f3bSAndroid Build Coastguard Worker--> 16*7eba2f3bSAndroid Build Coastguard Worker<configuration description="Configuration for {MODULE} Rust tests"> 17*7eba2f3bSAndroid Build Coastguard Worker <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/> 18*7eba2f3bSAndroid Build Coastguard Worker <option name="config-descriptor:metadata" key="mainline-param" value="com.google.android.nfcservices.apex" /> 19*7eba2f3bSAndroid Build Coastguard Worker <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> 20*7eba2f3bSAndroid Build Coastguard Worker <option name="cleanup" value="true" /> 21*7eba2f3bSAndroid Build Coastguard Worker <option name="push" value="{MODULE}->/data/local/tmp/{MODULE}" /> 22*7eba2f3bSAndroid Build Coastguard Worker <option name="append-bitness" value="true" /> 23*7eba2f3bSAndroid Build Coastguard Worker </target_preparer> 24*7eba2f3bSAndroid Build Coastguard Worker <test class="com.android.tradefed.testtype.rust.RustBinaryTest" > 25*7eba2f3bSAndroid Build Coastguard Worker <option name="test-device-path" value="/data/local/tmp" /> 26*7eba2f3bSAndroid Build Coastguard Worker <option name="module-name" value="{MODULE}" /> 27*7eba2f3bSAndroid Build Coastguard Worker </test> 28*7eba2f3bSAndroid Build Coastguard Worker <object type="module_controller" 29*7eba2f3bSAndroid Build Coastguard Worker class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> 30*7eba2f3bSAndroid Build Coastguard Worker <option name="mainline-module-package-name" value="com.google.android.nfcservices" /> 31*7eba2f3bSAndroid Build Coastguard Worker </object> 32*7eba2f3bSAndroid Build Coastguard Worker <object type="module_controller" 33*7eba2f3bSAndroid Build Coastguard Worker class="com.android.tradefed.testtype.suite.module.DeviceFeatureModuleController"> 34*7eba2f3bSAndroid Build Coastguard Worker <option name="required-feature" value="android.hardware.nfc.any" /> 35*7eba2f3bSAndroid Build Coastguard Worker </object> 36*7eba2f3bSAndroid Build Coastguard Worker</configuration> 37