Change TSan suppressions to work around a symbolization bug in the tool.
[chromium-blink-merge.git] / mojo / shell / BUILD.gn
blob7cf6a27a7ffc1a02da37620d9977f8c8fdc675d0
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     "content_handler_connection.cc",
15     "content_handler_connection.h",
16     "data_pipe_peek.cc",
17     "data_pipe_peek.h",
18     "fetcher.cc",
19     "fetcher.h",
20     "identity.cc",
21     "identity.h",
22     "local_fetcher.cc",
23     "local_fetcher.h",
24     "native_runner.h",
25     "network_fetcher.cc",
26     "network_fetcher.h",
27     "query_util.cc",
28     "query_util.h",
29     "shell_impl.cc",
30     "shell_impl.h",
31     "static_application_loader.cc",
32     "static_application_loader.h",
33     "switches.cc",
34     "switches.h",
35     "update_fetcher.cc",
36     "update_fetcher.h",
37   ]
39   public_deps = [
40     "//base",
41     "//mojo/application/public/interfaces",
42     "//mojo/common",
43     "//third_party/mojo/src/mojo/public/cpp/bindings",
44     "//mojo/services/network/public/interfaces",
45     "//mojo/services/updater",
46     "//url",
47   ]
48   deps = [
49     "//base/third_party/dynamic_annotations",
50     "//crypto:crypto",
51     "//url",
52     "//third_party/mojo/src/mojo/edk/system",
53     "//mojo/environment:chromium",
54     "//mojo/util:filename_util",
55   ]
58 test("mojo_shell_unittests") {
59   sources = [
60     "application_manager_unittest.cc",
61     "query_util_unittest.cc",
62   ]
64   deps = [
65     ":shell",
66     ":test_bindings",
67     "//base",
68     "//mojo/application/public/cpp",
69     "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
70     "//testing/gtest",
71     "//url",
72   ]
75 mojom("test_bindings") {
76   sources = [
77     "test.mojom",
78   ]