| # Copyright 2014 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/tools/bindings/mojom.gni") |
| |
| component("application_manager") { |
| output_name = "mojo_application_manager" |
| sources = [ |
| "application_loader.cc", |
| "application_loader.h", |
| "application_manager.cc", |
| "application_manager.h", |
| "application_manager_export.h", |
| "shell_impl.cc", |
| "shell_impl.h", |
| ] |
| |
| defines = [ "MOJO_APPLICATION_MANAGER_IMPLEMENTATION" ] |
| |
| public_deps = [ |
| "//base", |
| "//mojo/common", |
| "//mojo/public/interfaces/application:application", |
| "//mojo/services/network/public/interfaces", |
| "//url", |
| ] |
| deps = [ |
| "//base/third_party/dynamic_annotations", |
| "//url", |
| "//mojo/edk/system", |
| "//mojo/environment:chromium", |
| "//mojo/public/cpp/application", |
| "//mojo/public/cpp/bindings", |
| "//mojo/services/content_handler/public/interfaces", |
| ] |
| } |
| |
| test("mojo_application_manager_unittests") { |
| sources = [ |
| "application_manager_unittest.cc", |
| ] |
| |
| deps = [ |
| ":application_manager", |
| ":test_bindings", |
| "//base", |
| "//mojo/application", |
| "//mojo/common", |
| "//mojo/edk/test:run_all_unittests", |
| "//mojo/environment:chromium", |
| "//mojo/public/cpp/bindings", |
| "//testing/gtest", |
| "//url", |
| ] |
| } |
| |
| mojom("test_bindings") { |
| sources = [ |
| "test.mojom", |
| ] |
| } |