Fix layout of the Connection Tab of the Origin Info Bubble.
[chromium-blink-merge.git] / mojo / shell / BUILD.gn
blob0d57c43d418f33486c2f00f7a767a5d5c651984d
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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
6 import("//testing/test.gni")
8 source_set("shell") {
9   output_name = "mojo_shell"
10   sources = [
11     "application_instance.cc",
12     "application_instance.h",
13     "application_loader.h",
14     "application_manager.cc",
15     "application_manager.h",
16     "capability_filter.cc",
17     "capability_filter.h",
18     "connect_to_application_params.cc",
19     "connect_to_application_params.h",
20     "connect_util.cc",
21     "connect_util.h",
22     "content_handler_connection.cc",
23     "content_handler_connection.h",
24     "data_pipe_peek.cc",
25     "data_pipe_peek.h",
26     "fetcher.cc",
27     "fetcher.h",
28     "identity.cc",
29     "identity.h",
30     "native_runner.h",
31     "package_manager.h",
32     "query_util.cc",
33     "query_util.h",
34     "static_application_loader.cc",
35     "static_application_loader.h",
36     "switches.cc",
37     "switches.h",
38   ]
40   public_deps = [
41     "//base",
42     "//mojo/application/public/interfaces",
43     "//mojo/common",
44     "//third_party/mojo/src/mojo/public/cpp/bindings",
45     "//mojo/services/network/public/interfaces",
46     "//mojo/services/updater",
47     "//url",
48   ]
49   deps = [
50     "//base/third_party/dynamic_annotations",
51     "//crypto:crypto",
52     "//mojo/application/public/cpp:sources",
53     "//url",
54     "//third_party/mojo/src/mojo/edk/system",
55     "//mojo/environment:chromium",
56     "//mojo/util:filename_util",
57   ]
60 test("mojo_shell_unittests") {
61   sources = [
62     "application_manager_unittest.cc",
63     "capability_filter_unittest.cc",
64     "query_util_unittest.cc",
65     "test_package_manager.cc",
66     "test_package_manager.h",
67   ]
69   deps = [
70     ":shell",
71     ":test_bindings",
72     "//base",
73     "//mojo/application/public/cpp",
74     "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
75     "//testing/gtest",
76     "//url",
77   ]
80 mojom("test_bindings") {
81   sources = [
82     "capability_filter_unittest.mojom",
83     "test.mojom",
84   ]