Adds shutdown when FrameTreeServer goes away
[chromium-blink-merge.git] / mojo / mojo_shell.gyp
blob319ca648467c3b7ff1b4d96ec53246b2e168f6a5
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_instance.cc',
11       'shell/application_instance.h',
12       'shell/application_loader.h',
13       'shell/application_manager.cc',
14       'shell/application_manager.h',
15       'shell/capability_filter.cc',
16       'shell/capability_filter.h',
17       'shell/connect_to_application_params.cc',
18       'shell/connect_to_application_params.h',
19       'shell/content_handler_connection.cc',
20       'shell/content_handler_connection.h',
21       'shell/data_pipe_peek.cc',
22       'shell/data_pipe_peek.h',
23       'shell/fetcher.cc',
24       'shell/fetcher.h',
25       'shell/identity.cc',
26       'shell/identity.h',
27       'shell/local_fetcher.cc',
28       'shell/local_fetcher.h',
29       'shell/native_runner.h',
30       'shell/network_fetcher.cc',
31       'shell/network_fetcher.h',
32       'shell/query_util.cc',
33       'shell/query_util.h',
34       'shell/static_application_loader.cc',
35       'shell/static_application_loader.h',
36       'shell/switches.cc',
37       'shell/switches.cc',
38       'shell/update_fetcher.cc',
39       'shell/update_fetcher.h',
40       'util/filename_util.cc',
41       'util/filename_util.h',
42     ],
43     'dependencies': [
44       '<(DEPTH)/base/base.gyp:base',
45       '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
46       '<(DEPTH)/crypto/crypto.gyp:crypto',
47       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
48       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
49       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
50       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
51       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
52       '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib',
53       '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib',
54       '<(DEPTH)/url/url.gyp:url_lib',
55     ],
56   }, {
57     'target_name': 'mojo_shell_unittests',
58     'type': 'executable',
59     'sources': [
60       'shell/application_manager_unittest.cc',
61       'shell/capability_filter_unittest.cc',
62       'shell/query_util_unittest.cc',
63     ],
64     'dependencies': [
65       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib',
66       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings',
67       '<(DEPTH)/base/base.gyp:base',
68       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
69       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
70       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
71       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
72       '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
73       '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
74       '<(DEPTH)/testing/gtest.gyp:gtest',
75       '<(DEPTH)/url/url.gyp:url_lib',
76     ]
77   }, {
78     'target_name': 'mojo_shell_test_bindings',
79     'type': 'static_library',
80     'variables': {
81       'mojom_files': [
82         'shell/capability_filter_unittest.mojom',
83         'shell/test.mojom',
84       ],
85     },
86     'includes': [
87       '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
88     ],
89   }],