gn: 'platform_impl' should be a group instead of component (since it has no code...
[chromium-blink-merge.git] / mojo / mojo_shell.gyp
blob0569a6bd30690cea893175b43f3bbdfd9cd08f8b
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_loader.h',
11       'shell/application_manager.cc',
12       'shell/application_manager.h',
13       'shell/data_pipe_peek.cc',
14       'shell/data_pipe_peek.h',
15       'shell/fetcher.cc',
16       'shell/fetcher.h',
17       'shell/identity.cc',
18       'shell/identity.h',
19       'shell/local_fetcher.cc',
20       'shell/local_fetcher.h',
21       'shell/native_runner.h',
22       'shell/network_fetcher.cc',
23       'shell/network_fetcher.h',
24       'shell/query_util.cc',
25       'shell/query_util.h',
26       'shell/shell_impl.cc',
27       'shell/shell_impl.h',
28       'shell/static_application_loader.cc',
29       'shell/static_application_loader.h',
30       'shell/switches.cc',
31       'shell/switches.h',
32       'util/filename_util.cc',
33       'util/filename_util.h',
34     ],
35     'dependencies': [
36       '<(DEPTH)/base/base.gyp:base',
37       '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
38       '<(DEPTH)/crypto/crypto.gyp:crypto',
39       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
40       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
41       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
42       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
43       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
44       '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib',
45       '<(DEPTH)/url/url.gyp:url_lib',
46     ],
47   }, {
48     'target_name': 'mojo_shell_unittests',
49     'type': 'executable',
50     'sources': [
51       'shell/application_manager_unittest.cc',
52       'shell/query_util_unittest.cc',
53     ],
54     'dependencies': [
55       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib',
56       '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings',
57       '<(DEPTH)/base/base.gyp:base',
58       '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
59       '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib',
60       '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
61       '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
62       '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
63       '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
64       '<(DEPTH)/testing/gtest.gyp:gtest',
65       '<(DEPTH)/url/url.gyp:url_lib',
66     ]
67   }, {
68     'target_name': 'mojo_shell_test_bindings',
69     'type': 'static_library',
70     'variables': {
71       'mojom_files': [
72         'shell/test.mojom',
73       ],
74     },
75     'includes': [
76       '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
77     ],
78   }],