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