Merge "Create build target to pull adb test scripts." am: 9c0a541f08
am: 0daaf93424
am: 621e253c43
am: 3b9865faa9
Change-Id: Ic5fb3113f33aa7bc0bfac3366862ce0236768e20
This commit is contained in:
commit
51dff9791e
2 changed files with 56 additions and 0 deletions
51
adb/Android.bp
Normal file
51
adb/Android.bp
Normal file
|
@ -0,0 +1,51 @@
|
|||
// 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_binary_host {
|
||||
name: "adb_integration_test_adb",
|
||||
main: "test_adb.py",
|
||||
srcs: [
|
||||
"test_adb.py",
|
||||
],
|
||||
libs: [
|
||||
"adb_py",
|
||||
],
|
||||
version: {
|
||||
py2: {
|
||||
enabled: true,
|
||||
},
|
||||
py3: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
python_binary_host {
|
||||
name: "adb_integration_test_device",
|
||||
main: "test_device.py",
|
||||
srcs: [
|
||||
"test_device.py",
|
||||
],
|
||||
libs: [
|
||||
"adb_py",
|
||||
],
|
||||
version: {
|
||||
py2: {
|
||||
enabled: true,
|
||||
},
|
||||
py3: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
}
|
|
@ -388,4 +388,9 @@ LOCAL_STATIC_LIBRARIES := \
|
|||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
# adb integration test
|
||||
# =========================================================
|
||||
$(call dist-for-goals,sdk,$(ALL_MODULES.adb_integration_test_adb.BUILT))
|
||||
$(call dist-for-goals,sdk,$(ALL_MODULES.adb_integration_test_device.BUILT))
|
||||
|
||||
include $(call first-makefiles-under,$(LOCAL_PATH))
|
||||
|
|
Loading…
Reference in a new issue