1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//mojo/public/tools/bindings/mojom.gni")
7 # GYP version: mojo.gyp:mojo_application_manager
8 component("application_manager") {
9 output_name = "mojo_application_manager"
11 "application_loader.cc",
12 "application_loader.h",
13 "application_manager.cc",
14 "application_manager.h",
15 "application_manager_export.h",
16 "background_shell_application_loader.cc",
17 "background_shell_application_loader.h",
21 "MOJO_APPLICATION_MANAGER_IMPLEMENTATION",
26 "//base/third_party/dynamic_annotations",
30 "//mojo/environment:chromium",
31 "//mojo/public/interfaces/application:application",
32 "//mojo/services/public/interfaces/content_handler:content_handler",
33 "//mojo/services/public/interfaces/network:network",
37 forward_dependent_configs_from = [
38 "//mojo/public/interfaces/application:application",
42 # GYP version: mojo.gyp:mojo_application_manager_unittests
43 test("mojo_application_manager_unittests") {
45 ":application_manager",
51 "//mojo/environment:chromium",
52 "//mojo/public/cpp/application:chromium",
53 "//mojo/common/test:run_all_unittests",
54 "//mojo/public/cpp/bindings",
58 "application_manager_unittest.cc",
59 "background_shell_application_loader_unittest.cc",
63 mojom("test_bindings") {
64 sources = [ "test.mojom" ]