blob: f96703b4824fa84371ac537415b5d26165c2c757 [file] [log] [blame]
# Copyright 2023 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/python/python_library.gni")
group("mobly_controller") {
testonly = true
deps = [ ":mobly_controller_no_testonly" ]
}
python_library("mobly_controller_no_testonly") {
# In-tree-only tests should prefer ":mobly_controller" because that enforces
# that only testonly code uses regular Mobly controller. This target should be
# used for tests or dependencies of tests that are packaged into the SDK,
# since they cannot be testonly.
visibility = [
":*",
"//src/testing/end_to_end/mobly_base_tests:*",
]
enable_mypy = true
library_name = "mobly_controller"
sources = [
"__init__.py",
"fuchsia_device.py",
]
source_root = "."
library_deps = [ "//src/testing/end_to_end/honeydew:honeydew_no_testonly" ]
}