| # Copyright 2017 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/package.gni") |
| import("//third_party/protobuf/proto_library.gni") |
| |
| executable("cobalt_encoder_unittests") { |
| testonly = true |
| |
| deps = [ |
| "//third_party/cobalt/encoder:unittests", |
| ] |
| } |
| |
| package("cobalt_tests") { |
| testonly = true |
| deprecated_system_image = true |
| |
| deps = [ |
| ":cobalt_encoder_unittests", |
| "app:app", |
| "app:cobalt_app_unittests", |
| "testapp:cobalt_testapp", |
| "testapp:cobalt_testapp_no_environment", |
| "testapp:cobalt_testapp_no_network", |
| ] |
| |
| binaries = [ |
| { |
| name = "cobalt_testapp" |
| }, |
| ] |
| |
| tests = [ |
| { |
| name = "cobalt_app_unittests" |
| }, |
| |
| { |
| name = "cobalt_encoder_unittests" |
| }, |
| |
| { |
| name = "cobalt_testapp_no_network" |
| }, |
| |
| { |
| name = "cobalt_testapp_no_environment" |
| |
| # We don't want to run this version cobalt_testapp in the Garnet |
| # CI/CQ because it uses the real network. We run cobalt_testap_no_network |
| # instead. This version is run in the stand-alone cobalt_client CI. |
| disabled = true |
| }, |
| ] |
| } |