Files
android_development/python-packages/Android.bp
Adrian Salido 8d10687419 adb_py: Build python3 module
Commit 1b06c6e40d ("Python 3 compatibility.") addressed python3
compatilbity issues for adb python package. Enable it in build.

Test: python3 test.py
Change-Id: Ie00e86f473a79f215b8e053a6ed8be5a2184e0a4
2019-09-24 23:06:54 +00:00

29 lines
783 B
Plaintext

// 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.
python_library_host {
name: "adb_py",
srcs: [
"adb/*.py",
],
version: {
py2: {
enabled: true,
},
py3: {
enabled: true,
},
},
}