Fix a tsan race triggerred by unprotected reads of |TraceLog::logged_events_|.
[chromium-blink-merge.git] / mojo / mojo_shell.gyp
blob66fa2d17418a7fdf54c5c679353b0c50f9776c34
1 # Copyright 2015 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.
6   'targets': [{
7     'target_name': 'mojo_shell_lib',
8     'type': 'static_library',
9     'sources': [
10       'shell/application_loader.h',
11       'shell/application_manager.cc',
12       'shell/application_manager.h',
13       'shell/data_pipe_peek.cc',
14       'shell/data_pipe_peek.h',
15       'shell/fetcher.cc',
16       'shell/fetcher.h',
17       'shell/identity.cc',
18       'shell/identity.h',
19       'shell/local_fetcher.cc',
20       'shell/local_fetcher.h',
21       'shell/native_runner.h',
22       'shell/network_fetcher.cc',
23       'shell/network_fetcher.h',
24       'shell/query_util.cc',
25       'shell/query_util.h',
26       'shell/shell_impl.cc',
27       'shell/shell_impl.h',
28       'shell/static_application_loader.cc',
29       'shell/static_application_loader.h',
30       'shell/switches.cc',
31       'shell/switches.cc',
32       'shell/update_fetcher.cc',
33       'shell/update_fetcher.h',
34       'util/filename_util.cc',
35       'util/filename_util.h',
36     ],
37     'dependencies': [
38       '<(DEPTH)/base/base.gyp:base',
39       '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
40       '<(DEPTH)/crypto/crypto.gyp:crypto',
41       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
42       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
43       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
44       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
45       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
46       '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib',
47       '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib',
48       '<(DEPTH)/url/url.gyp:url_lib',
49     ],
50   }, {
51     'target_name': 'mojo_shell_unittests',
52     'type': 'executable',
53     'sources': [
54       'shell/application_manager_unittest.cc',
55       'shell/query_util_unittest.cc',
56     ],
57     'dependencies': [
58       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib',
59       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings',
60       '<(DEPTH)/base/base.gyp:base',
61       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
62       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
63       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
64       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
65       '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
66       '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
67       '<(DEPTH)/testing/gtest.gyp:gtest',
68       '<(DEPTH)/url/url.gyp:url_lib',
69     ]
70   }, {
71     'target_name': 'mojo_shell_test_bindings',
72     'type': 'static_library',
73     'variables': {
74       'mojom_files': [
75         'shell/test.mojom',
76       ],
77     },
78     'includes': [
79       '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
80     ],
81   }],