Convert vts_vndk_dependency_test to a host test
TradeFed does not support running Python file on device. This commit
converts vts_vndk_dependency_test to a python_test_host.
Bug: 147454897
Test: ANDROID_SERIAL=ABCDEF \
VTS_DATA_FILE_PATH=$ANDROID_HOST_OUT/vts/android-vts/testcases \
LD_LIBRARY_PATH=$ANDROID_HOST_OUT_TESTCASES/../lib64 \
$ANDROID_HOST_OUT_TESTCASES/vts_vndk_dependency_test/x86_64/vts_vndk_dependency_test
Change-Id: I9c4a3eb48864fb511bc89e643a0549d98a351bec
diff --git a/Android.bp b/Android.bp
index 18a2b91..df43d92 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-python_library {
+python_library_host {
name: "vts_vndk_utils",
pkg_path: "vts/testcases/vndk",
srcs: [
@@ -50,7 +50,7 @@
}
}
-python_test {
+python_test_host {
name: "vts_vndk_dependency_test",
defaults: ["vts_vndk_default"],
main: "dependency/vts_vndk_dependency_test.py",