blob: 7c8bd210772d9176343a71aacb4cdacc0e6d9212 [file] [log] [blame]
# 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") {
deps = [
":interfaces",
"//base",
"//base/test:test_support",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/system",
"//services/catalog:unittests",
"//services/shell",
"//services/shell/background:lib",
"//services/shell/background:main",
"//services/shell/background/tests:unittests",
"//services/shell/public/cpp",
"//services/shell/public/cpp/test:run_all_shelltests",
"//services/shell/public/interfaces",
"//services/shell/tests/connect",
"//services/shell/tests/lifecycle",
"//services/shell/tests/shell",
"//services/shell/tests/shutdown",
"//testing/gtest",
]
}
mojom("interfaces") {
sources = [
"test.mojom",
]
}
source_set("util") {
sources = [
"util.cc",
"util.h",
]
deps = [
"//base",
"//base:base_static",
"//mojo/edk/system",
"//services/shell/public/cpp:sources",
"//services/shell/public/interfaces",
"//services/shell/runner/common",
]
}