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