From dcf513a013102adcfa36389f91a160d13137e886 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 18 Jan 2023 22:23:38 +0000 Subject: [PATCH] Fix adb_py module. Apparently these tests are used, they are just defined in //packages/modules/adb, so atest can't find them here. Bug: http://b/265846006 Test: ran adb_integration_test_device Change-Id: If1d82280ab51e80497d235f55582688b78c00f5b --- python-packages/Android.bp | 7 ------- python-packages/adb/Android.bp | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 python-packages/adb/Android.bp diff --git a/python-packages/Android.bp b/python-packages/Android.bp index 17310f1a1..ae2360218 100644 --- a/python-packages/Android.bp +++ b/python-packages/Android.bp @@ -15,10 +15,3 @@ package { default_applicable_licenses: ["Android-Apache-2.0"], } - -python_library_host { - name: "adb_py", - srcs: [ - "adb/*.py", - ], -} diff --git a/python-packages/adb/Android.bp b/python-packages/adb/Android.bp new file mode 100644 index 000000000..17310f1a1 --- /dev/null +++ b/python-packages/adb/Android.bp @@ -0,0 +1,24 @@ +// Copyright (C) 2017 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_applicable_licenses: ["Android-Apache-2.0"], +} + +python_library_host { + name: "adb_py", + srcs: [ + "adb/*.py", + ], +}