Bring the browser window to the front when clicking on deprecated accelerator notific...
[chromium-blink-merge.git] / mojo / mojo_shell.gyp
blob837a7fe4da70594f63c4975a929761b580882d2c
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/native_runner.h',
28       'shell/package_manager.h',
29       'shell/query_util.cc',
30       'shell/query_util.h',
31       'shell/static_application_loader.cc',
32       'shell/static_application_loader.h',
33       'shell/switches.cc',
34       'shell/switches.cc',
35       'util/filename_util.cc',
36       'util/filename_util.h',
37     ],
38     'dependencies': [
39       '<(DEPTH)/base/base.gyp:base',
40       '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
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)/url/url.gyp:url_lib',
47     ],
48   }, {
49     'target_name': 'mojo_fetcher_lib',
50     'type': 'static_library',
51     'sources': [
52       'fetcher/about_fetcher.cc',
53       'fetcher/about_fetcher.h',
54       'fetcher/data_fetcher.cc',
55       'fetcher/data_fetcher.h',
56       'fetcher/local_fetcher.cc',
57       'fetcher/local_fetcher.h',
58       'fetcher/network_fetcher.cc',
59       'fetcher/network_fetcher.h',
60       'fetcher/switches.cc',
61       'fetcher/switches.h',
62       'fetcher/update_fetcher.cc',
63       'fetcher/update_fetcher.h',
64       'fetcher/url_resolver.cc',
65       'fetcher/url_resolver.h',
66       'package_manager/package_manager_impl.cc',
67       'package_manager/package_manager_impl.h',
68     ],
69     'dependencies': [
70       '<(DEPTH)/base/base.gyp:base',
71       '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
72       '<(DEPTH)/crypto/crypto.gyp:crypto',
73       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
74       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
75       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
76       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
77       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
78       '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib',
79       '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib',
80       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib',
81       '<(DEPTH)/net/net.gyp:net',
82       '<(DEPTH)/url/url.gyp:url_lib',
83     ]
84   }, {
85     'target_name': 'mojo_shell_unittests',
86     'type': 'executable',
87     'sources': [
88       'shell/application_manager_unittest.cc',
89       'shell/capability_filter_unittest.cc',
90       'shell/query_util_unittest.cc',
91       'shell/test_package_manager.cc',
92       'shell/test_package_manager.h',
93     ],
94     'dependencies': [
95       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib',
96       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings',
97       '<(DEPTH)/base/base.gyp:base',
98       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
99       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
100       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
101       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
102       '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
103       '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
104       '<(DEPTH)/testing/gtest.gyp:gtest',
105       '<(DEPTH)/url/url.gyp:url_lib',
106     ]
107   }, {
108     'target_name': 'mojo_shell_test_bindings',
109     'type': 'static_library',
110     'variables': {
111       'mojom_files': [
112         'shell/capability_filter_unittest.mojom',
113         'shell/test.mojom',
114       ],
115     },
116     'includes': [
117       '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
118     ],
119   }],