OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [{ | 6 'targets': [{ |
7 'target_name': 'mojo_shell_lib', | 7 'target_name': 'mojo_shell_lib', |
8 'type': 'static_library', | 8 'type': 'static_library', |
9 'sources': [ | 9 'sources': [ |
10 'shell/application_instance.cc', | 10 'shell/application_instance.cc', |
11 'shell/application_instance.h', | 11 'shell/application_instance.h', |
12 'shell/application_loader.h', | 12 'shell/application_loader.h', |
13 'shell/application_manager.cc', | 13 'shell/application_manager.cc', |
14 'shell/application_manager.h', | 14 'shell/application_manager.h', |
15 'shell/capability_filter.cc', | 15 'shell/capability_filter.cc', |
16 'shell/capability_filter.h', | 16 'shell/capability_filter.h', |
17 'shell/connect_to_application_params.cc', | 17 'shell/connect_to_application_params.cc', |
18 'shell/connect_to_application_params.h', | 18 'shell/connect_to_application_params.h', |
19 'shell/content_handler_connection.cc', | 19 'shell/content_handler_connection.cc', |
20 'shell/content_handler_connection.h', | 20 'shell/content_handler_connection.h', |
21 'shell/data_pipe_peek.cc', | 21 'shell/data_pipe_peek.cc', |
22 'shell/data_pipe_peek.h', | 22 'shell/data_pipe_peek.h', |
23 'shell/fetcher.cc', | 23 'shell/fetcher.cc', |
24 'shell/fetcher.h', | 24 'shell/fetcher.h', |
25 'shell/identity.cc', | 25 'shell/identity.cc', |
26 'shell/identity.h', | 26 'shell/identity.h', |
27 'shell/native_runner.h', | 27 'shell/native_runner.h', |
28 'shell/package_manager.h', | |
29 'shell/query_util.cc', | 28 'shell/query_util.cc', |
30 'shell/query_util.h', | 29 'shell/query_util.h', |
31 'shell/static_application_loader.cc', | 30 'shell/static_application_loader.cc', |
32 'shell/static_application_loader.h', | 31 'shell/static_application_loader.h', |
33 'shell/switches.cc', | 32 'shell/switches.cc', |
34 'shell/switches.cc', | 33 'shell/switches.cc', |
35 'util/filename_util.cc', | 34 'util/filename_util.cc', |
36 'util/filename_util.h', | 35 'util/filename_util.h', |
37 ], | 36 ], |
38 'dependencies': [ | 37 'dependencies': [ |
39 '<(DEPTH)/base/base.gyp:base', | 38 '<(DEPTH)/base/base.gyp:base', |
40 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 39 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
41 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | 40 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
42 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | 41 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
43 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | 42 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
44 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', | 43 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
45 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', | 44 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
46 '<(DEPTH)/url/url.gyp:url_lib', | 45 '<(DEPTH)/url/url.gyp:url_lib', |
47 ], | 46 ], |
48 }, { | 47 }, { |
49 'target_name': 'mojo_fetcher_lib', | 48 'target_name': 'mojo_fetcher_lib', |
50 'type': 'static_library', | 49 'type': 'static_library', |
51 'sources': [ | 50 'sources': [ |
52 'fetcher/about_fetcher.cc', | 51 'fetcher/about_fetcher.cc', |
53 'fetcher/about_fetcher.h', | 52 'fetcher/about_fetcher.h', |
| 53 'fetcher/base_application_fetcher.cc', |
| 54 'fetcher/base_application_fetcher.h', |
54 'fetcher/local_fetcher.cc', | 55 'fetcher/local_fetcher.cc', |
55 'fetcher/local_fetcher.h', | 56 'fetcher/local_fetcher.h', |
56 'fetcher/network_fetcher.cc', | 57 'fetcher/network_fetcher.cc', |
57 'fetcher/network_fetcher.h', | 58 'fetcher/network_fetcher.h', |
58 'fetcher/switches.cc', | 59 'fetcher/switches.cc', |
59 'fetcher/switches.h', | 60 'fetcher/switches.h', |
60 'fetcher/update_fetcher.cc', | 61 'fetcher/update_fetcher.cc', |
61 'fetcher/update_fetcher.h', | 62 'fetcher/update_fetcher.h', |
62 'fetcher/url_resolver.cc', | 63 'fetcher/url_resolver.cc', |
63 'fetcher/url_resolver.h', | 64 'fetcher/url_resolver.h', |
64 'package_manager/package_manager_impl.cc', | |
65 'package_manager/package_manager_impl.h', | |
66 ], | 65 ], |
67 'dependencies': [ | 66 'dependencies': [ |
68 '<(DEPTH)/base/base.gyp:base', | 67 '<(DEPTH)/base/base.gyp:base', |
69 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 68 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
70 '<(DEPTH)/crypto/crypto.gyp:crypto', | 69 '<(DEPTH)/crypto/crypto.gyp:crypto', |
71 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | 70 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
72 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | 71 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
73 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | 72 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
74 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', | 73 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
75 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', | 74 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
76 '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib', | 75 '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_lib', |
77 '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib', | 76 '<(DEPTH)/mojo/mojo_services.gyp:updater_bindings_lib', |
78 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib', | 77 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib', |
79 '<(DEPTH)/url/url.gyp:url_lib', | 78 '<(DEPTH)/url/url.gyp:url_lib', |
80 ] | 79 ] |
81 }, { | 80 }, { |
82 'target_name': 'mojo_shell_unittests', | 81 'target_name': 'mojo_shell_unittests', |
83 'type': 'executable', | 82 'type': 'executable', |
84 'sources': [ | 83 'sources': [ |
85 'shell/application_manager_unittest.cc', | 84 'shell/application_manager_unittest.cc', |
86 'shell/capability_filter_unittest.cc', | 85 'shell/capability_filter_unittest.cc', |
87 'shell/query_util_unittest.cc', | 86 'shell/query_util_unittest.cc', |
88 'shell/test_package_manager.cc', | |
89 'shell/test_package_manager.h', | |
90 ], | 87 ], |
91 'dependencies': [ | 88 'dependencies': [ |
92 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib', | 89 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib', |
93 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings', | 90 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings', |
94 '<(DEPTH)/base/base.gyp:base', | 91 '<(DEPTH)/base/base.gyp:base', |
95 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | 92 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
96 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | 93 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
97 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', | 94 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
98 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', | 95 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
99 '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', | 96 '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
100 '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 97 '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
101 '<(DEPTH)/testing/gtest.gyp:gtest', | 98 '<(DEPTH)/testing/gtest.gyp:gtest', |
102 '<(DEPTH)/url/url.gyp:url_lib', | 99 '<(DEPTH)/url/url.gyp:url_lib', |
103 ] | 100 ] |
104 }, { | 101 }, { |
105 'target_name': 'mojo_shell_test_bindings', | 102 'target_name': 'mojo_shell_test_bindings', |
106 'type': 'static_library', | 103 'type': 'static_library', |
107 'variables': { | 104 'variables': { |
108 'mojom_files': [ | 105 'mojom_files': [ |
109 'shell/capability_filter_unittest.mojom', | 106 'shell/capability_filter_unittest.mojom', |
110 'shell/test.mojom', | 107 'shell/test.mojom', |
111 ], | 108 ], |
112 }, | 109 }, |
113 'includes': [ | 110 'includes': [ |
114 '../third_party/mojo/mojom_bindings_generator_explicit.gypi', | 111 '../third_party/mojo/mojom_bindings_generator_explicit.gypi', |
115 ], | 112 ], |
116 }], | 113 }], |
117 } | 114 } |
OLD | NEW |