Roll src/third_party/WebKit fe3d0ed:840e60d (svn 202350:202351)
[chromium-blink-merge.git] / mojo / mojo_shell.gyp
blob598ef3dd115cd5283b7fe7bfd046a2e5a767bea5
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/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       '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)/mojo/mojo_base.gyp:mojo_application_base',
41       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
42       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
43       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
44       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
45       '<(DEPTH)/url/url.gyp:url_lib',
46     ],
47   }, {
48     'target_name': 'mojo_fetcher_lib',
49     'type': 'static_library',
50     'sources': [
51       'fetcher/about_fetcher.cc',
52       'fetcher/about_fetcher.h',
53       'fetcher/base_application_fetcher.cc',
54       'fetcher/base_application_fetcher.h',
55       'fetcher/local_fetcher.cc',
56       'fetcher/local_fetcher.h',
57       'fetcher/network_fetcher.cc',
58       'fetcher/network_fetcher.h',
59       'fetcher/switches.cc',
60       'fetcher/switches.h',
61       'fetcher/update_fetcher.cc',
62       'fetcher/update_fetcher.h',
63       'fetcher/url_resolver.cc',
64       'fetcher/url_resolver.h',
65     ],
66     'dependencies': [
67       '<(DEPTH)/base/base.gyp:base',
68       '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
69       '<(DEPTH)/crypto/crypto.gyp:crypto',
70       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
71       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
72       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
73       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
74       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
75       '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib',
76       '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib',
77       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib',
78       '<(DEPTH)/url/url.gyp:url_lib',
79     ]
80   }, {
81     'target_name': 'mojo_shell_unittests',
82     'type': 'executable',
83     'sources': [
84       'shell/application_manager_unittest.cc',
85       'shell/capability_filter_unittest.cc',
86       'shell/query_util_unittest.cc',
87     ],
88     'dependencies': [
89       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib',
90       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings',
91       '<(DEPTH)/base/base.gyp:base',
92       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
93       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
94       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
95       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
96       '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
97       '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
98       '<(DEPTH)/testing/gtest.gyp:gtest',
99       '<(DEPTH)/url/url.gyp:url_lib',
100     ]
101   }, {
102     'target_name': 'mojo_shell_test_bindings',
103     'type': 'static_library',
104     'variables': {
105       'mojom_files': [
106         'shell/capability_filter_unittest.mojom',
107         'shell/test.mojom',
108       ],
109     },
110     'includes': [
111       '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
112     ],
113   }],