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 'services/catalog/catalog.cc', | 10 'services/catalog/catalog.cc', |
11 'services/catalog/catalog.h', | 11 'services/catalog/catalog.h', |
12 'services/catalog/entry.cc', | 12 'services/catalog/entry.cc', |
13 'services/catalog/entry.h', | 13 'services/catalog/entry.h', |
14 'services/catalog/factory.cc', | 14 'services/catalog/factory.cc', |
15 'services/catalog/factory.h', | 15 'services/catalog/factory.h', |
16 'services/catalog/store.cc', | 16 'services/catalog/store.cc', |
17 'services/catalog/store.h', | 17 'services/catalog/store.h', |
18 'services/catalog/types.h', | 18 'services/catalog/types.h', |
19 'shell/loader.h', | 19 '../services/shell/loader.h', |
20 'shell/connect_params.cc', | 20 '../services/shell/connect_params.cc', |
21 'shell/connect_params.h', | 21 '../services/shell/connect_params.h', |
22 'shell/connect_util.cc', | 22 '../services/shell/connect_util.cc', |
23 'shell/connect_util.h', | 23 '../services/shell/connect_util.h', |
24 'shell/native_runner.h', | 24 '../services/shell/native_runner.h', |
25 'shell/native_runner_delegate.h', | 25 '../services/shell/native_runner_delegate.h', |
26 'shell/shell.cc', | 26 '../services/shell/shell.cc', |
27 'shell/shell.h', | 27 '../services/shell/shell.h', |
28 'shell/switches.cc', | 28 '../services/shell/switches.cc', |
29 'shell/switches.cc', | 29 '../services/shell/switches.cc', |
30 'util/filename_util.cc', | 30 'util/filename_util.cc', |
31 'util/filename_util.h', | 31 'util/filename_util.h', |
32 ], | 32 ], |
33 'dependencies': [ | 33 'dependencies': [ |
34 '<(DEPTH)/base/base.gyp:base', | 34 '<(DEPTH)/base/base.gyp:base', |
35 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 35 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
36 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | 36 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
37 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | 37 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
38 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | 38 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
39 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', | 39 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
40 '<(DEPTH)/net/net.gyp:net', | 40 '<(DEPTH)/net/net.gyp:net', |
41 '<(DEPTH)/url/url.gyp:url_lib', | 41 '<(DEPTH)/url/url.gyp:url_lib', |
42 ], | 42 ], |
43 'export_dependent_settings': [ | 43 'export_dependent_settings': [ |
44 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | 44 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
45 ], | 45 ], |
46 }, { | 46 }, { |
47 'target_name': 'mojo_shell_unittests', | 47 'target_name': 'mojo_shell_unittests', |
48 'type': 'executable', | 48 'type': 'executable', |
49 'sources': [ | 49 'sources': [ |
50 'shell/tests/loader_unittest.cc', | 50 '../services/shell/tests/loader_unittest.cc', |
51 ], | 51 ], |
52 'dependencies': [ | 52 'dependencies': [ |
53 'mojo_shell_lib', | 53 'mojo_shell_lib', |
54 'mojo_shell_test_bindings', | 54 'mojo_shell_test_bindings', |
55 '<(DEPTH)/base/base.gyp:base', | 55 '<(DEPTH)/base/base.gyp:base', |
56 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | 56 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
57 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | 57 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
58 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', | 58 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
59 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', | 59 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
60 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | 60 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
61 '<(DEPTH)/testing/gtest.gyp:gtest', | 61 '<(DEPTH)/testing/gtest.gyp:gtest', |
62 '<(DEPTH)/url/url.gyp:url_lib', | 62 '<(DEPTH)/url/url.gyp:url_lib', |
63 ] | 63 ] |
64 }, { | 64 }, { |
65 'target_name': 'mojo_shell_test_bindings', | 65 'target_name': 'mojo_shell_test_bindings', |
66 'type': 'static_library', | 66 'type': 'static_library', |
67 'variables': { | 67 'variables': { |
68 'mojom_files': [ | 68 'mojom_files': [ |
69 'shell/tests/test.mojom', | 69 '../services/shell/tests/test.mojom', |
70 ], | 70 ], |
71 }, | 71 }, |
72 'includes': [ | 72 'includes': [ |
73 'mojom_bindings_generator_explicit.gypi', | 73 'mojom_bindings_generator_explicit.gypi', |
74 ], | 74 ], |
75 }, { | 75 }, { |
76 'target_name': 'mojo_runner_common_lib', | 76 'target_name': 'mojo_runner_common_lib', |
77 'type': 'static_library', | 77 'type': 'static_library', |
78 'sources': [ | 78 'sources': [ |
79 'shell/runner/common/client_util.cc', | 79 '../services/shell/runner/common/client_util.cc', |
80 'shell/runner/common/client_util.h', | 80 '../services/shell/runner/common/client_util.h', |
81 'shell/runner/common/switches.cc', | 81 '../services/shell/runner/common/switches.cc', |
82 'shell/runner/common/switches.h', | 82 '../services/shell/runner/common/switches.h', |
83 ], | 83 ], |
84 'include_dirs': [ | 84 'include_dirs': [ |
85 '..', | 85 '..', |
86 ], | 86 ], |
87 'dependencies': [ | 87 'dependencies': [ |
88 '<(DEPTH)/base/base.gyp:base', | 88 '<(DEPTH)/base/base.gyp:base', |
89 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | 89 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
90 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', | 90 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
91 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | 91 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
92 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_system', | 92 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_system', |
93 ], | 93 ], |
94 'export_dependent_settings': [ | 94 'export_dependent_settings': [ |
95 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | 95 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
96 ], | 96 ], |
97 }, { | 97 }, { |
98 'target_name': 'mojo_runner_host_lib', | 98 'target_name': 'mojo_runner_host_lib', |
99 'type': 'static_library', | 99 'type': 'static_library', |
100 'sources': [ | 100 'sources': [ |
101 'shell/runner/host/child_process.cc', | 101 '../services/shell/runner/host/child_process.cc', |
102 'shell/runner/host/child_process.h', | 102 '../services/shell/runner/host/child_process.h', |
103 'shell/runner/host/child_process_base.cc', | 103 '../services/shell/runner/host/child_process_base.cc', |
104 'shell/runner/host/child_process_base.h', | 104 '../services/shell/runner/host/child_process_base.h', |
105 'shell/runner/host/child_process_host.cc', | 105 '../services/shell/runner/host/child_process_host.cc', |
106 'shell/runner/host/child_process_host.h', | 106 '../services/shell/runner/host/child_process_host.h', |
107 'shell/runner/host/in_process_native_runner.cc', | 107 '../services/shell/runner/host/in_process_native_runner.cc', |
108 'shell/runner/host/in_process_native_runner.h', | 108 '../services/shell/runner/host/in_process_native_runner.h', |
109 'shell/runner/host/out_of_process_native_runner.cc', | 109 '../services/shell/runner/host/out_of_process_native_runner.cc', |
110 'shell/runner/host/out_of_process_native_runner.h', | 110 '../services/shell/runner/host/out_of_process_native_runner.h', |
111 'shell/runner/host/native_application_support.cc', | 111 '../services/shell/runner/host/native_application_support.cc', |
112 'shell/runner/host/native_application_support.h', | 112 '../services/shell/runner/host/native_application_support.h', |
113 'shell/runner/init.cc', | 113 '../services/shell/runner/init.cc', |
114 'shell/runner/init.h', | 114 '../services/shell/runner/init.h', |
115 ], | 115 ], |
116 'dependencies': [ | 116 'dependencies': [ |
117 'mojo_runner_common_lib', | 117 'mojo_runner_common_lib', |
118 'mojo_shell_lib', | 118 'mojo_shell_lib', |
119 '<(DEPTH)/base/base.gyp:base', | 119 '<(DEPTH)/base/base.gyp:base', |
120 '<(DEPTH)/base/base.gyp:base_i18n', | 120 '<(DEPTH)/base/base.gyp:base_i18n', |
121 '<(DEPTH)/base/base.gyp:base_static', | 121 '<(DEPTH)/base/base.gyp:base_static', |
122 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | 122 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
123 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', | 123 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
124 '<(DEPTH)/mojo/mojo_platform_handle.gyp:platform_handle', | 124 '<(DEPTH)/mojo/mojo_platform_handle.gyp:platform_handle', |
125 '<(DEPTH)/mojo/mojo_public.gyp:mojo_message_pump_lib', | 125 '<(DEPTH)/mojo/mojo_public.gyp:mojo_message_pump_lib', |
126 ], | 126 ], |
127 'export_dependent_settings': [ | 127 'export_dependent_settings': [ |
128 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | 128 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
129 ], | 129 ], |
130 'conditions': [ | 130 'conditions': [ |
131 ['OS=="linux"', { | 131 ['OS=="linux"', { |
132 'sources': [ | 132 'sources': [ |
133 'shell/runner/host/linux_sandbox.cc', | 133 '../services/shell/runner/host/linux_sandbox.cc', |
134 'shell/runner/host/linux_sandbox.h', | 134 '../services/shell/runner/host/linux_sandbox.h', |
135 ], | 135 ], |
136 'dependencies': [ | 136 'dependencies': [ |
137 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', | 137 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', |
138 '<(DEPTH)/sandbox/sandbox.gyp:sandbox_services', | 138 '<(DEPTH)/sandbox/sandbox.gyp:sandbox_services', |
139 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf', | 139 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf', |
140 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf_helpers', | 140 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf_helpers', |
141 ], | 141 ], |
142 }], | 142 }], |
143 ['OS=="mac"', { | 143 ['OS=="mac"', { |
144 'sources': [ | 144 'sources': [ |
145 'shell/runner/host/mach_broker.cc', | 145 '../services/shell/runner/host/mach_broker.cc', |
146 'shell/runner/host/mach_broker.h', | 146 '../services/shell/runner/host/mach_broker.h', |
147 ], | 147 ], |
148 }], | 148 }], |
149 ], | 149 ], |
150 }, { | 150 }, { |
151 # GN version: //mojo/services/catalog:manifest | 151 # GN version: //mojo/services/catalog:manifest |
152 'target_name': 'mojo_catalog_manifest', | 152 'target_name': 'mojo_catalog_manifest', |
153 'type': 'none', | 153 'type': 'none', |
154 'variables': { | 154 'variables': { |
155 'application_type': 'mojo', | 155 'application_type': 'mojo', |
156 'application_name': 'catalog', | 156 'application_name': 'catalog', |
157 'source_manifest': '<(DEPTH)/mojo/services/catalog/manifest.json', | 157 'source_manifest': '<(DEPTH)/mojo/services/catalog/manifest.json', |
158 }, | 158 }, |
159 'includes': [ | 159 'includes': [ |
160 '../mojo/public/mojo_application_manifest.gypi', | 160 '../mojo/public/mojo_application_manifest.gypi', |
161 ], | 161 ], |
162 'hard_dependency': 1, | 162 'hard_dependency': 1, |
163 }], | 163 }], |
164 } | 164 } |
OLD | NEW |