| # Copyright 2020 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/host.gni") |
| |
| group("scrutiny") { |
| public_deps = [ ":lib($host_toolchain)" ] |
| } |
| |
| group("lib") { |
| if (is_host) { |
| public_deps = [ |
| "//src/security/lib/scrutiny/config", |
| "//src/security/lib/scrutiny/framework", |
| "//src/security/lib/scrutiny/frontend", |
| "//src/security/lib/scrutiny/plugins", |
| "//src/security/lib/scrutiny/testing", |
| "//src/security/lib/scrutiny/utils", |
| ] |
| } |
| } |
| |
| if (is_fuchsia) { |
| group("tests") { |
| testonly = true |
| public_deps = [ "tests" ] |
| } |
| } |
| |
| if (is_host) { |
| group("host_tests") { |
| testonly = true |
| deps = [ |
| "config:tests", |
| "framework:tests", |
| "frontend:tests", |
| "plugins:tests", |
| "tests:host_tests", |
| "utils:tests", |
| "x:tests", |
| ] |
| } |
| } |