1 // Copyright (C) 2017 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 15 python_binary_host { 16 name: "adb_integration_test_adb", 17 main: "test_adb.py", 18 srcs: [ 19 "test_adb.py", 20 ], 21 libs: [ 22 "adb_py", 23 ], 24 version: { 25 py2: { 26 enabled: true, 27 }, 28 py3: { 29 enabled: false, 30 }, 31 }, 32 } 33 34 python_binary_host { 35 name: "adb_integration_test_device", 36 main: "test_device.py", 37 srcs: [ 38 "test_device.py", 39 ], 40 libs: [ 41 "adb_py", 42 ], 43 version: { 44 py2: { 45 enabled: true, 46 }, 47 py3: { 48 enabled: false, 49 }, 50 }, 51 } 52