| # 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", | |
| "context-authenticator", | |
| "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 (is_fuchsia) { | |
| group("hermetic_tests") { | |
| testonly = true | |
| public_deps = [ "context-authenticator:tests" ] | |
| } | |
| 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", | |
| ] | |
| } |