| # Copyright 2026 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_host_test.gni") | |
| import("//build/python/python_library.gni") | |
| if (is_host) { | |
| # Dual-built: bazel2gn does not generate python_host_test from host_py_test. | |
| python_host_test("storage_e2e_testing_keymint_test") { | |
| main_source = "keymint_test.py" | |
| libraries = [ | |
| ":storage_e2e_testing", | |
| "//sdk/fidl/fuchsia.fs:fuchsia.fs_python", | |
| "//sdk/fidl/fuchsia.io:fuchsia.io_python", | |
| "//sdk/fidl/fuchsia.security.keymint:fuchsia.security.keymint_python", | |
| "//sdk/fidl/fuchsia.unknown:fuchsia.unknown_python", | |
| "//src/developer/fuchsia-controller:fuchsia_controller_py", | |
| "//src/storage/fidl/fuchsia.fs.startup:fuchsia.fs.startup_python", | |
| ] | |
| } | |
| } | |
| group("tests") { | |
| testonly = true | |
| public_deps = [ ":storage_e2e_testing_keymint_test($host_toolchain)" ] | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| if (is_host) { | |
| python_library("storage_e2e_testing") { | |
| testonly = true | |
| visibility = [ | |
| ":*", | |
| "//vendor/google/*", | |
| ] | |
| deps = [ | |
| "//sdk/fidl/fuchsia.fs:fuchsia.fs_python", | |
| "//sdk/fidl/fuchsia.io:fuchsia.io_python", | |
| "//sdk/fidl/fuchsia.security.keymint:fuchsia.security.keymint_python", | |
| "//src/developer/fuchsia-controller:fuchsia_controller_py", | |
| "//src/storage/fidl/fuchsia.fs.startup:fuchsia.fs.startup_python", | |
| ] | |
| enable_mypy = true | |
| sources = [ | |
| "__init__.py", | |
| "keymint.py", | |
| ] | |
| } | |
| } |