| # Copyright 2019 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. |
| |
| group("lib") { |
| testonly = true |
| deps = [ |
| "async-generator", |
| "blobfs", |
| "bounded-node", |
| "channel-config", |
| "eager-package-config", |
| "epoch", |
| "event-queue", |
| "far:lib", |
| "fidl-fuchsia-update-ext", |
| "fidl-fuchsia-update-installer-ext", |
| "forced-fdr", |
| "fuchsia-hash", |
| "fuchsia-merkle", |
| "fuchsia-pkg", |
| "fuchsia-pkg-testing", |
| "fuchsia-repo", |
| "isolated-ota", |
| "isolated-swd", |
| "omaha-client", |
| "omaha-client-fuchsia", |
| "package-directory", |
| "package-tool", |
| "repo", |
| "system-image", |
| "update-package", |
| "work-queue", |
| ] |
| } |
| |
| # TODO(https://fxbug.dev/314036868): Migrate these tests to be hermetic. Delete |
| # this when all unused dependencies are removed. |
| # |
| # PLEASE DO NOT USE. |
| group("tests") { |
| testonly = true |
| |
| # Please do not add to this list. |
| deps = [ |
| "async-generator:tests", |
| "blobfs:tests", |
| "bounded-node:tests", |
| "channel-config:tests", |
| "eager-package-config:tests", |
| "epoch:tests", |
| "event-queue:tests", |
| "far:tests", |
| "fidl-fuchsia-update-ext:tests", |
| "fidl-fuchsia-update-installer-ext:tests", |
| "forced-fdr:tests", |
| "fuchsia-hash:tests", |
| "fuchsia-merkle:tests", |
| "fuchsia-pkg:tests", |
| "fuchsia-pkg-testing:tests", |
| "fuchsia-repo:tests", |
| "isolated-swd:tests", |
| "merkle:tests", |
| "omaha-client-fuchsia:tests", |
| "package-directory:tests", |
| "package-tool:tests", |
| "repo:tests", |
| "sse:tests", |
| "system-image:tests", |
| "tuf:tests", |
| "update-package:tests", |
| "work-queue:tests", |
| ] |
| |
| if (current_cpu == "riscv64") { |
| deps -= [ |
| # TODO(https://fxbug.dev/300170314): Remove after removing Go dependencies on RISC-V. |
| "merkle:tests", |
| ] |
| } |
| } |
| |
| if (is_fuchsia) { |
| group("hermetic_tests") { |
| testonly = true |
| public_deps = [] |
| } |
| |
| group("non_hermetic_tests") { |
| testonly = true |
| public_deps = [] |
| } |
| } |
| |
| if (is_host) { |
| group("host_tests") { |
| testonly = true |
| public_deps = [] |
| } |
| } |
| |
| group("all_tests") { |
| testonly = true |
| public_deps = [ |
| ":hermetic_tests($target_toolchain)", |
| ":hon-hermetic_tests($target_toolchain)", |
| ":host_tests($host_toolchain)", |
| ":tests", |
| ] |
| } |