# 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") source_set("test_support") { sources = [ "test_catalog_store.cc", "test_catalog_store.h", ] deps = [ "//base", "//mojo/services/catalog:lib", "//url", ] } source_set("unittests") { testonly = true sources = [ "background_shell_unittest.cc", ] deps = [ ":test_app_bindings", ":test_support", "//base", "//mojo/shell/background:lib", "//mojo/shell/background:main", "//mojo/shell/public/cpp:sources", "//testing/gtest", "//url", ] data_deps = [ ":test_app", ] } mojom("test_app_bindings") { sources = [ "test.mojom", ] } mojo_native_application("test_app") { output_name = "background_shell_test_app" sources = [ "test_service.cc", ] deps = [ ":test_app_bindings", "//base", "//mojo/shell/public/cpp:sources", "//mojo/shell/public/interfaces", ] }