| # 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. | |
| import("//build/dist/resource.gni") | |
| if (is_host) { | |
| group("host_tests") { | |
| testonly = true | |
| public_deps = [ "mock-omaha-server:host_tests" ] | |
| } | |
| } | |
| if (is_fuchsia) { | |
| group("hermetic_tests") { | |
| testonly = true | |
| public_deps = [ | |
| "blobfs-ramdisk:hermetic_tests", | |
| "mock-crash-reporter:hermetic_tests", | |
| "mock-health-verification:hermetic_tests", | |
| "mock-installer:hermetic_tests", | |
| "mock-metrics:hermetic_tests", | |
| "mock-omaha-server-fuchsia:hermetic_tests", | |
| "mock-paver:hermetic_tests", | |
| "mock-reboot:hermetic_tests", | |
| "mock-resolver:hermetic_tests", | |
| "mock-space:hermetic_tests", | |
| ] | |
| } | |
| } | |
| group("all_tests") { | |
| testonly = true | |
| public_deps = [ | |
| ":hermetic_tests($target_toolchain)", | |
| "mock-installer:host_tests", | |
| ] | |
| } | |
| # fuchsia_hyper::new_https_client fails if there isn't a file at | |
| # /config/ssl/cert.pem, but the tests don't actually make https connections and | |
| # so don't need any certs, so we can just give them an empty file instead of | |
| # making them a system test and giving them the system certs. | |
| resource("fake-ssl-certs") { | |
| sources = [ "fake_cert_for_test.pem" ] | |
| outputs = [ "fake-ssl-certs/cert.pem" ] | |
| } | |
| ## 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") |