| # Copyright 2018 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("tests") { |
| testonly = true |
| |
| public_deps = [ |
| ":unittests", |
| ] |
| } |
| |
| source_set("testing_deps") { |
| testonly = true |
| public_deps = [ |
| "//garnet/bin/ui/tests:main", |
| "//garnet/lib/ui/mozart", |
| "//garnet/public/lib/fxl", |
| "//third_party/googletest:gtest", |
| ] |
| } |
| |
| executable("unittests") { |
| output_name = "mozart_unittests" |
| testonly = true |
| sources = [ |
| "clock_task_runner.cc", |
| "clock_task_runner.h", |
| "clock_task_runner_unittest.cc", |
| "mozart_test.cc", |
| "mozart_test.h", |
| "mozart_unittest.cc", |
| ] |
| deps = [ |
| ":dummy_system", |
| ":testing_deps", |
| ] |
| } |
| |
| source_set("dummy_system") { |
| sources = [ |
| "dummy_system.cc", |
| "dummy_system.h", |
| ] |
| deps = [ |
| "//garnet/lib/ui/mozart", |
| "//garnet/public/lib/ui/mozart/fidl", |
| ] |
| } |