blob: c3b6fc12427a83e2e6cd69d172f1182ce071c1ef [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.
# Declare Fuchsia build targets for using antlion from the Fuchsia tree.
# Requires additional configuration of jiri fetch attributes from your Fuchsia
# checkout:
# `jiri init -fetch-optional=antlion`
import("//build/python/python_library.gni")
# Tests for full build validation
group("e2e_tests") {
testonly = true
public_deps = [ "tests:e2e_tests" ]
}
# Subset of tests to validate builds in under 15 minutes.
group("e2e_tests_quick") {
testonly = true
public_deps = [ "tests:e2e_tests_quick" ]
}
# Tests for at-desk custom validation
group("e2e_tests_manual") {
testonly = true
public_deps = [ "tests:e2e_tests_manual" ]
}
# deprecated: prefer e2e_tests_quick
group("smoke_tests") {
testonly = true
public_deps = [ ":e2e_tests_quick" ]
}
# Unit tests only
group("tests") {
testonly = true
public_deps = [ "runner:tests" ]
}
python_library("antlion") {
source_root = "//third_party/antlion/packages/antlion"
sources = [
"__init__.py",
"base_test.py",
"bin/__init__.py",
"bin/act.py",
"capabilities/__init__.py",
"capabilities/ssh.py",
"config_parser.py",
"context.py",
"controllers/__init__.py",
"controllers/access_point.py",
"controllers/adb.py",
"controllers/adb_lib/__init__.py",
"controllers/adb_lib/error.py",
"controllers/android_device.py",
"controllers/android_lib/__init__.py",
"controllers/android_lib/errors.py",
"controllers/android_lib/events.py",
"controllers/android_lib/logcat.py",
"controllers/android_lib/services.py",
"controllers/android_lib/tel/__init__.py",
"controllers/android_lib/tel/tel_utils.py",
"controllers/ap_lib/__init__.py",
"controllers/ap_lib/ap_get_interface.py",
"controllers/ap_lib/ap_iwconfig.py",
"controllers/ap_lib/bridge_interface.py",
"controllers/ap_lib/dhcp_config.py",
"controllers/ap_lib/dhcp_server.py",
"controllers/ap_lib/extended_capabilities.py",
"controllers/ap_lib/hostapd.py",
"controllers/ap_lib/hostapd_ap_preset.py",
"controllers/ap_lib/hostapd_bss_settings.py",
"controllers/ap_lib/hostapd_config.py",
"controllers/ap_lib/hostapd_constants.py",
"controllers/ap_lib/hostapd_security.py",
"controllers/ap_lib/hostapd_utils.py",
"controllers/ap_lib/radio_measurement.py",
"controllers/ap_lib/radvd.py",
"controllers/ap_lib/radvd_config.py",
"controllers/ap_lib/radvd_constants.py",
"controllers/ap_lib/regulatory_channels.py",
"controllers/ap_lib/third_party_ap_profiles/__init__.py",
"controllers/ap_lib/third_party_ap_profiles/actiontec.py",
"controllers/ap_lib/third_party_ap_profiles/asus.py",
"controllers/ap_lib/third_party_ap_profiles/belkin.py",
"controllers/ap_lib/third_party_ap_profiles/linksys.py",
"controllers/ap_lib/third_party_ap_profiles/netgear.py",
"controllers/ap_lib/third_party_ap_profiles/securifi.py",
"controllers/ap_lib/third_party_ap_profiles/tplink.py",
"controllers/ap_lib/wireless_network_management.py",
"controllers/attenuator.py",
"controllers/attenuator_lib/__init__.py",
"controllers/attenuator_lib/_tnhelper.py",
"controllers/attenuator_lib/aeroflex/__init__.py",
"controllers/attenuator_lib/aeroflex/telnet.py",
"controllers/attenuator_lib/minicircuits/__init__.py",
"controllers/attenuator_lib/minicircuits/http.py",
"controllers/attenuator_lib/minicircuits/telnet.py",
"controllers/fastboot.py",
"controllers/fuchsia_device.py",
"controllers/fuchsia_lib/__init__.py",
"controllers/fuchsia_lib/base_lib.py",
"controllers/fuchsia_lib/device_lib.py",
"controllers/fuchsia_lib/ffx.py",
"controllers/fuchsia_lib/hardware_power_statecontrol_lib.py",
"controllers/fuchsia_lib/lib_controllers/__init__.py",
"controllers/fuchsia_lib/lib_controllers/wlan_controller.py",
"controllers/fuchsia_lib/lib_controllers/wlan_policy_controller.py",
"controllers/fuchsia_lib/location/__init__.py",
"controllers/fuchsia_lib/location/regulatory_region_lib.py",
"controllers/fuchsia_lib/logging_lib.py",
"controllers/fuchsia_lib/netstack/__init__.py",
"controllers/fuchsia_lib/netstack/netstack_lib.py",
"controllers/fuchsia_lib/package_server.py",
"controllers/fuchsia_lib/sl4f.py",
"controllers/fuchsia_lib/ssh.py",
"controllers/fuchsia_lib/utils_lib.py",
"controllers/fuchsia_lib/wlan_ap_policy_lib.py",
"controllers/fuchsia_lib/wlan_deprecated_configuration_lib.py",
"controllers/fuchsia_lib/wlan_lib.py",
"controllers/fuchsia_lib/wlan_policy_lib.py",
"controllers/iperf_client.py",
"controllers/iperf_server.py",
"controllers/openwrt_ap.py",
"controllers/openwrt_lib/__init__.py",
"controllers/openwrt_lib/network_const.py",
"controllers/openwrt_lib/network_settings.py",
"controllers/openwrt_lib/openwrt_constants.py",
"controllers/openwrt_lib/wireless_config.py",
"controllers/openwrt_lib/wireless_settings_applier.py",
"controllers/packet_capture.py",
"controllers/packet_sender.py",
"controllers/pdu.py",
"controllers/pdu_lib/__init__.py",
"controllers/pdu_lib/digital_loggers/__init__.py",
"controllers/pdu_lib/digital_loggers/webpowerswitch.py",
"controllers/pdu_lib/synaccess/__init__.py",
"controllers/pdu_lib/synaccess/np02b.py",
"controllers/sl4a_lib/__init__.py",
"controllers/sl4a_lib/error_reporter.py",
"controllers/sl4a_lib/event_dispatcher.py",
"controllers/sl4a_lib/rpc_client.py",
"controllers/sl4a_lib/rpc_connection.py",
"controllers/sl4a_lib/sl4a_manager.py",
"controllers/sl4a_lib/sl4a_ports.py",
"controllers/sl4a_lib/sl4a_session.py",
"controllers/sl4a_lib/sl4a_types.py",
"controllers/sniffer.py",
"controllers/sniffer_lib/__init__.py",
"controllers/sniffer_lib/local/__init__.py",
"controllers/sniffer_lib/local/local_base.py",
"controllers/sniffer_lib/local/tcpdump.py",
"controllers/sniffer_lib/local/tshark.py",
"controllers/utils_lib/__init__.py",
"controllers/utils_lib/commands/__init__.py",
"controllers/utils_lib/commands/ip.py",
"controllers/utils_lib/commands/route.py",
"controllers/utils_lib/commands/shell.py",
"controllers/utils_lib/host_utils.py",
"controllers/utils_lib/ssh/__init__.py",
"controllers/utils_lib/ssh/connection.py",
"controllers/utils_lib/ssh/formatter.py",
"controllers/utils_lib/ssh/settings.py",
"decorators.py",
"dict_object.py",
"error.py",
"event/__init__.py",
"event/decorators.py",
"event/event.py",
"event/event_bus.py",
"event/event_subscription.py",
"event/subscription_bundle.py",
"event/subscription_handle.py",
"keys.py",
"libs/__init__.py",
"libs/logging/__init__.py",
"libs/logging/log_stream.py",
"libs/ota/__init__.py",
"libs/ota/ota_runners/__init__.py",
"libs/ota/ota_runners/ota_runner.py",
"libs/ota/ota_runners/ota_runner_factory.py",
"libs/ota/ota_tools/__init__.py",
"libs/ota/ota_tools/adb_sideload_ota_tool.py",
"libs/ota/ota_tools/ota_tool.py",
"libs/ota/ota_tools/ota_tool_factory.py",
"libs/ota/ota_tools/update_device_ota_tool.py",
"libs/ota/ota_updater.py",
"libs/proc/__init__.py",
"libs/proc/job.py",
"libs/proc/process.py",
"libs/yaml_writer.py",
"logger.py",
"net.py",
"records.py",
"signals.py",
"test_decorators.py",
"test_runner.py",
"test_utils/__init__.py",
"test_utils/abstract_devices/__init__.py",
"test_utils/abstract_devices/wlan_device.py",
"test_utils/abstract_devices/wmm_transceiver.py",
"test_utils/dhcp/__init__.py",
"test_utils/dhcp/base_test.py",
"test_utils/fuchsia/__init__.py",
"test_utils/fuchsia/utils.py",
"test_utils/fuchsia/wmm_test_cases.py",
"test_utils/net/__init__.py",
"test_utils/net/connectivity_const.py",
"test_utils/net/net_test_utils.py",
"test_utils/wifi/__init__.py",
"test_utils/wifi/base_test.py",
"test_utils/wifi/wifi_constants.py",
"test_utils/wifi/wifi_performance_test_utils/__init__.py",
"test_utils/wifi/wifi_performance_test_utils/bokeh_figure.py",
"test_utils/wifi/wifi_performance_test_utils/brcm_utils.py",
"test_utils/wifi/wifi_performance_test_utils/ping_utils.py",
"test_utils/wifi/wifi_performance_test_utils/qcom_utils.py",
"test_utils/wifi/wifi_test_utils.py",
"tracelogger.py",
"utils.py",
]
library_deps = [
"//third_party/mobly",
"//third_party/pyyaml:yaml",
"third_party/github.com/jd/tenacity",
]
}