blob: c02b1a4bbf96ab3a9a551f9d26ecaa2b511eba26 [file] [log] [blame]
# Copyright 2022 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") {
testonly = true
deps = [ ":mobly_no_testonly" ]
}
python_library("mobly_no_testonly") {
# In-tree-only tests should prefer ":mobly" because that enforces that only
# testonly code uses regular Mobly. 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:*",
"//src/testing/end_to_end/mobly_driver:*",
# SDK-based test targets listed below.
"//src/tests/end_to_end/rtc:*",
]
library_name = "mobly"
source_root = "src/mobly"
sources = [
"__init__.py",
"asserts.py",
"base_instrumentation_test.py",
"base_suite.py",
"base_test.py",
"config_parser.py",
"controller_manager.py",
"expects.py",
"keys.py",
"logger.py",
"records.py",
"runtime_test_info.py",
"signals.py",
"suite_runner.py",
"test_runner.py",
"utils.py",
]
library_deps = [
"//third_party/python_portpicker:portpicker",
"//third_party/pyyaml:yaml",
]
}