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