# Copyright 2016 The Chromium 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("//mojo/public/mojo_application.gni") import("//mojo/public/tools/bindings/mojom.gni") import("//testing/test.gni") group("tests") { testonly = true deps = [ ":mojo_shell_unittests", ] } test("mojo_shell_unittests") { sources = [ "loader_unittest.cc", ] deps = [ ":interfaces", "//base", "//base/test:test_support", "//mojo/public/cpp/bindings", "//mojo/public/cpp/system", "//mojo/services/catalog:unittests", "//mojo/shell", "//mojo/shell/background:lib", "//mojo/shell/background:main", "//mojo/shell/background/tests:unittests", "//mojo/shell/public/cpp", "//mojo/shell/public/cpp/test:run_all_shelltests", "//mojo/shell/public/interfaces", "//mojo/shell/tests/connect", "//mojo/shell/tests/lifecycle", "//mojo/shell/tests/shell", "//mojo/util:filename_util", "//testing/gtest", ] } mojom("interfaces") { sources = [ "test.mojom", ] } source_set("util") { sources = [ "util.cc", "util.h", ] deps = [ "//base", "//base:base_static", "//mojo/edk/system", "//mojo/shell/public/cpp:sources", "//mojo/shell/public/interfaces", "//mojo/shell/runner/common", ] }