Stop retring GCM unregistration requests after reaching maximum number
[chromium-blink-merge.git] / mojo / shell / BUILD.gn
blob113d6c433f6ccf826ba74ef7c25941ac0be018c9
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_loader.h",
12     "application_manager.cc",
13     "application_manager.h",
14     "data_pipe_peek.cc",
15     "data_pipe_peek.h",
16     "fetcher.cc",
17     "fetcher.h",
18     "identity.cc",
19     "identity.h",
20     "local_fetcher.cc",
21     "local_fetcher.h",
22     "native_runner.h",
23     "network_fetcher.cc",
24     "network_fetcher.h",
25     "query_util.cc",
26     "query_util.h",
27     "shell_impl.cc",
28     "shell_impl.h",
29     "static_application_loader.cc",
30     "static_application_loader.h",
31     "switches.cc",
32     "switches.h",
33     "update_fetcher.cc",
34     "update_fetcher.h",
35   ]
37   public_deps = [
38     "//base",
39     "//mojo/application/public/interfaces",
40     "//mojo/common",
41     "//third_party/mojo/src/mojo/public/cpp/bindings",
42     "//mojo/services/network/public/interfaces",
43     "//mojo/services/updater",
44     "//url",
45   ]
46   deps = [
47     "//base/third_party/dynamic_annotations",
48     "//crypto:crypto",
49     "//url",
50     "//third_party/mojo/src/mojo/edk/system",
51     "//mojo/environment:chromium",
52     "//mojo/util:filename_util",
53   ]
56 test("tests") {
57   output_name = "mojo_shell_unittests"
58   sources = [
59     "application_manager_unittest.cc",
60     "query_util_unittest.cc",
61   ]
63   deps = [
64     ":shell",
65     ":test_bindings",
66     "//base",
67     "//mojo/application/public/cpp",
68     "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
69     "//testing/gtest",
70     "//url",
71   ]
74 mojom("test_bindings") {
75   sources = [
76     "test.mojom",
77   ]