Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41bda344 authored by GuangHui Liu's avatar GuangHui Liu
Browse files

Create build target to pull adb test scripts.

Test: m adb_integration_test_adb adb_integration_test_device

Change-Id: I8c97af44ecf65eeae8a8dd678c43ad1d9f6c8a51
parent 0f185bb1
Loading
Loading
Loading
Loading

adb/Android.bp

0 → 100644
+51 −0
Original line number Diff line number Diff line
// 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,
    },
  },
}
+5 −0
Original line number Diff line number Diff line
@@ -387,4 +387,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))